Android の設定画面用 Activity, PreferenceActivity の使い方を簡単にまとめてみる。 1. 画面の作り方 res/xml/preference.xml (名前はなんでもよかったりする)を作成する。この XML の書き方については このへん がわかりやすい。別に PreferenceCategory はあってもなくてもいい。試しに作った preference.xml はこんなカンジ。 <?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <ListPreference android:key="@string/pref_key_list" android:title="@strin