Android - ListView that looks like 'settings'
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
精彩评论