Defining a Preference Screen Layout in XML
Unlike in the standard UI layout, preference definitions are stored in the res/xml resources folder. Each preference layout is defined as a hierarchy, beginning with a single PreferenceScreen element: You can include additional Preference Screen elements, each of which will be represented as a selectable element that will display a new screen when clicked. Within … Read more