I want to create a ListPreference in my PreferenceActivity.
When a ListPreference is clicked, I get a dialog box with a listview. Each row in list view has a text field and a radio button.
I do not want this radio button and also on clicking list item, I want to fire an intent that opens browser? Any idea how to go about it?
If i extend DialogPreference then how to handle onClicks? Like onListClickListener will work?
OR
If i extend ListPreference what are the functions i need to override?
This is possible when you are customizing preferences.When you are using only Preference ,it works like a button.And later you have to implement whatever you want.The Following example simply shows as your requirement.When you click preference,it shows list dialog without radio buttons .But i am not implemented to store the data in Shared preferences.If you want to do that,you have to implement your own.I just post some code here.