如何在android中设置自定义选项面板?
答案 0 :(得分:1)
Android应用中的设置为stored using Preferences
。除了获取和设置首选项的方法外,API还提供了widgets for building your options panel。
此类选项面板通常创建为PreferenceActivity
。如果您查看SDK提供的API Demo sample application,可以找到how to populate a PreferenceActivity
from an XML file和how to populate a PreferenceActivity
using Java code的示例。