how to set the custom options panel in android?
+1
A:
Settings in Android applications are stored using Preferences
. As well as ways to get and set Preferences, the API also provides widgets for building your options panel.
Such an options panel is normally created as a PreferenceActivity
. If you have a look at the API Demo sample application provided with the SDK you can find an example of how to populate a PreferenceActivity
from an XML file and how to populate a PreferenceActivity
using Java code.
Dave Webb
2010-01-25 10:37:09