0

I would like to have a look at the various xml views (and specifically the CheckBoxPreference) that are inflated in the list view that makes up the PreferenceActivity. Where are the source code for these located?

I mean Android's source code for how they create the preference activity, not the xml I would use if I wanted to use a preference activity.

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
Suragch
  • 935
  • 3
  • 9
  • 15
  • I mean Android's source code for how they create the preference activity, not the xml I would use if I wanted to use a preference activity. – Suragch Apr 28 '14 at 13:44
  • 1
    You probably want this: https://android.googlesource.com/platform/frameworks/base/+/android-4.3_r2.1/core/java/android/preference/CheckBoxPreference.java – Phantômaxx Apr 28 '14 at 13:55
  • Yes, thanks! That was part of what I was looking for. Do you know where Android's layout xml for the CheckBoxPreference and other preference views are, too? – Suragch Apr 29 '14 at 00:31
  • 1
    You probably look for this, too: https://android.googlesource.com/platform/frameworks/base/+/android-4.3_r2.1/core/res/res/layout/preference_widget_checkbox.xml – Phantômaxx Apr 29 '14 at 06:42

0 Answers0