开发者

how to set the custom options panel in android?

how to set the custom options pane开发者_JAVA百科l in android?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜