开发者

Android - ListView that looks like 'settings'

开发者 https://www.devze.com 2023-02-12 21:21 出处:网络
I would like to create a listview that looks like \'Settings\' in Android (i.e. If I click \"Sound &am开发者_开发知识库p; Display\" item, it will show items such as \"silent mode, ringer volume, etc\"

I would like to create a listview that looks like 'Settings' in Android (i.e. If I click "Sound &am开发者_开发知识库p; Display" item, it will show items such as "silent mode, ringer volume, etc"). It looks like PreferenceScreen but this time, it doesn't configure anything.

A clearer example: What I wanted was when an item category is selected -- let's say, Hospitals --, it calls another listview which contains a roster of hospitals around the area. When one of the items in the roster is selected, it will execute the call intent and dial the number. And if I wanted to go back to the list, I will just press the back button then see other categories.

Thanks in advance!


Try this, Android Preferences

And Also Android - creating a custom preferences activity screen

0

精彩评论

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