I am creating a new settings screen for my app and want to keep the look and feel similar to that of the standard applications. I have seen many 3rd party apps also follow this style (Twidroid for example) and would like to know how best to go about creating this look?
Is there a "template" or Activity I can use or is it a case of constructing it from a table layout or similar?
Thanks.
You can use preference XML and PreferenceActivity
for settings to get the common look and feel. You can then access those settings via PreferenceManager.getDefaultSharedPreferences()
.
Here are three sample projects that demonstrate various aspects of the preference XML format.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With