こんな感じで設定画面のリソース作れると素敵ですかね?
で、こんな感じのファイルができる、と。
<?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <EditTextPreference android:title="sampleTitle" android:summary="this is the title of sample" android:key="text_sample" android:dialogTitle="sample title" /> <PreferenceCategory android:title="my test" /> <CheckBoxPreference android:title="enabled" android:summary="enable this sample" android:key="chk_enabled" /> </PreferenceCategory> </PreferenceScreen>
タイトルとかはstringリソースになるほうがいいと思うけど。
もひとつウィザード作ってupします。