Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android - ListView that looks like 'settings'

Tags:

android

layout

I would like to create a listview that looks like 'Settings' in Android (i.e. If I click "Sound & 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!

like image 372
user631639 Avatar asked Jan 20 '23 09:01

user631639


1 Answers

Try this, Android Preferences

And Also Android - creating a custom preferences activity screen

like image 91
Jignesh Dhua Avatar answered Jan 31 '23 20:01

Jignesh Dhua