Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the typical layout structure of an Android settings activity?

A great example of the kind of Activity I'm trying to create is the gmail app settings Activity. It lists all the customizable settings vertically with horizontal rules between each setting. There are variety of fields that usually look identical. For example: text fields usually display a bold heading with a description below and a circled triangle to the right.

What kind of viewgroup is the root view? What kind of view or viewgroup is each field?

like image 875
objectivesea Avatar asked Jan 12 '11 03:01

objectivesea


1 Answers

A settings Activity will usually be derived from PreferenceActivity. Take a look at the link and see if that's what you're looking for.

like image 66
jjb Avatar answered Nov 15 '22 10:11

jjb