Settings Screen Style

I am creating a new settings screen for my application and want it to look the same as for standard applications. I saw that many third-party applications also follow this style (e.g. Twidroid) and would like to know how best to do this?

Is there a “template” or “Activity” that I can use, or is it a case of building it from a table layout or similar?

Thanks.

+4
source share
1 answer

You can use the XML prefix and PreferenceActivity to customize to get a general look. You can then access these settings through PreferenceManager.getDefaultSharedPreferences() .

Here are three sample projects that demonstrate various aspects of the XML preference format.

+13
source

All Articles