I saw in some applications, for example, model document viewer , a page with settings with exactly the same look as in the Android OS itself. How to achieve the same page view? Or they simply manually compile, which is unlikely.

Example:

alt text

    1 answer 1

    There is a special PreferenceActivity . The essence is simple - in the xml file you describe what settings are needed (their names, hints, types, default values, and so on), and the system itself assumes the creation, display, and saving of settings.

    • Everything turned out, but I can not find what style I need to apply, so that the background was with a gradient, as in the picture. - angry