I have seen apps that have pop-ups (if you click “Open Source License” on the settings of Google Play) and seekbar (usually for volume and fontsize) in settings of some apps.
How are these implemented? In the res/xml/pref.xml file, I can only add the following components:
- CheckBoxPreference
- EditBoxPreference
- ListPreference
- RingtonePreference
- AppWidgetProvider
- Searchable
None of them seems to have a pop-up or seekbar.
I am building an app based on API 10 btw.i tried to read the guide and api but they are api 16 based and use lots of fragments,which is not available on APIs prior to Honeycomb.
Thanks in advance
Popups can be coded by extending the DialogPreference. Create a custom Preference which will extend the DialogPreference for showing dialogs.
For Seekbar preference, go through this stackoverflow question. I haven’t tried it though.