开发者

how to set the custom options panel in android?

开发者 https://www.devze.com 2022-12-17 20:22 出处:网络
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 fo

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

精彩评论

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