开发者

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

开发者 https://www.devze.com 2023-02-04 06:15 出处:网络
A great example of the kind of Activity I\'m trying 开发者_JAVA技巧to create is the gmail app settings Activity.It lists all the customizable settings vertically with horizontal rules between each set

A great example of the kind of Activity I'm trying 开发者_JAVA技巧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?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号