ANDROID – SETTINGS ACTIVITY Template

ANDROID – SETTINGS ACTIVITY  Template

If you need only one screen with a few settings then read this post. If you need multiple sub-screens of setting then you should use the Settings Activity Template. It divides the settings into fragments and groups. Let’s start. Right-click your app’s package and click New > Activity > Settings Activity. Change the title if you wish, and click the 3 dots … at the right of Hierarchical Parent to specify the parent Activity. Click Finish. A new resource directory will be created, xml, and 4 resource XML files. pref_headers.xml…

ANDROID – SETTINGS ACTIVITY Template Read More