summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorOwen Lin <owenlin@google.com>2009-09-19 19:50:42 +0800
committerOwen Lin <owenlin@google.com>2009-09-24 01:05:15 +0800
commit723f84eadb3c1a79337ef20e4d0a014341537adb (patch)
treeb7ff4a015c8c7ca77e82905102cdb30a26c41c7a /res/xml
parentebddabc90759c3717a4109aac0a7fa3ce8ec1d75 (diff)
downloadpackages_apps_LegacyCamera-723f84eadb3c1a79337ef20e4d0a014341537adb.zip
packages_apps_LegacyCamera-723f84eadb3c1a79337ef20e4d0a014341537adb.tar.gz
packages_apps_LegacyCamera-723f84eadb3c1a79337ef20e4d0a014341537adb.tar.bz2
Add icon support for options in preference setting screen.
Change-Id: I4029ef11d49922139b8aab423e9871c803ab4a82
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/camera_preferences.xml9
1 files changed, 5 insertions, 4 deletions
diff --git a/res/xml/camera_preferences.xml b/res/xml/camera_preferences.xml
index 7531df3..ef5980f 100644
--- a/res/xml/camera_preferences.xml
+++ b/res/xml/camera_preferences.xml
@@ -14,18 +14,19 @@
limitations under the License.
-->
-<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
- <PreferenceCategory
- android:title="@string/pref_camera_settings_category">
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:camera="http://schemas.android.com/apk/res/com.android.camera">
+ <PreferenceCategory android:title="@string/pref_camera_settings_category">
<CheckBoxPreference
android:key="pref_camera_recordlocation_key"
android:title="@string/pref_camera_recordlocation_title"
android:summary="@string/pref_camera_recordlocation_summary"
android:defaultValue="false"/>
- <ListPreference
+ <com.android.camera.IconListPreference
android:key="pref_camera_flashmode_key"
android:defaultValue="@string/pref_camera_flashmode_default"
android:title="@string/pref_camera_flashmode_title"
+ camera:icons="@array/pref_camera_flashmode_icons"
android:entries="@array/pref_camera_flashmode_entries"
android:entryValues="@array/pref_camera_flashmode_entryvalues"
android:dialogTitle="@string/pref_camera_flashmode_dialogtitle" />