summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorCheng-Ru Lin <owenlin@google.com>2009-10-01 05:10:55 +0800
committerCheng-Ru Lin <owenlin@google.com>2009-10-01 08:36:13 +0800
commitf404a034455cef3b214236449eab859c4e8999b8 (patch)
treee224f8cdb39ea8819883662cbbd1c907aab1f428 /res/xml
parent2f3774c974a5a044a3b32ca68182a3f2180d0124 (diff)
downloadLegacyCamera-f404a034455cef3b214236449eab859c4e8999b8.zip
LegacyCamera-f404a034455cef3b214236449eab859c4e8999b8.tar.gz
LegacyCamera-f404a034455cef3b214236449eab859c4e8999b8.tar.bz2
Add icons in on screen menu for whitebalance and focus mode.
Change-Id: Ic10c68404a703279918c3a86473d364030affa8a
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/camera_preferences.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/res/xml/camera_preferences.xml b/res/xml/camera_preferences.xml
index edcb23f..a59de44 100644
--- a/res/xml/camera_preferences.xml
+++ b/res/xml/camera_preferences.xml
@@ -32,10 +32,11 @@
android:entries="@array/pref_camera_scenemode_entries"
android:entryValues="@array/pref_camera_scenemode_entryvalues"
android:dialogTitle="@string/pref_camera_scenemode_dialogtitle" />
- <ListPreference
+ <com.android.camera.IconListPreference
android:key="pref_camera_whitebalance_key"
android:defaultValue="@string/pref_camera_whitebalance_default"
android:title="@string/pref_camera_whitebalance_title"
+ camera:icons="@array/pref_camera_whitebalance_icons"
android:entries="@array/pref_camera_whitebalance_entries"
android:entryValues="@array/pref_camera_whitebalance_entryvalues"
android:dialogTitle="@string/pref_camera_whitebalance_dialogtitle" />
@@ -65,10 +66,11 @@
android:entries="@array/pref_camera_jpegquality_entries"
android:entryValues="@array/pref_camera_jpegquality_entryvalues"
android:dialogTitle="@string/pref_camera_jpegquality_dialogtitle" />
- <ListPreference
+ <com.android.camera.IconListPreference
android:key="pref_camera_focusmode_key"
android:defaultValue="@string/pref_camera_focusmode_default"
android:title="@string/pref_camera_focusmode_title"
+ camera:icons="@array/pref_camera_focusmode_icons"
android:entries="@array/pref_camera_focusmode_entries"
android:entryValues="@array/pref_camera_focusmode_entryvalues"
android:dialogTitle="@string/pref_camera_focusmode_dialogtitle" />