summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorCheng-Ru Lin <owenlin@google.com>2009-09-26 04:46:06 +0800
committerCheng-Ru Lin <owenlin@google.com>2009-09-26 09:50:02 +0800
commita8bbcd7ce25aada705561852ea9f356dc38c0f43 (patch)
tree77e5030b3f1b167ecac9515f3c0612e70b481fdb /res/xml
parentc801d7371323d59f584d8dddaae104d8775f48cd (diff)
downloadLegacyCamera-a8bbcd7ce25aada705561852ea9f356dc38c0f43.zip
LegacyCamera-a8bbcd7ce25aada705561852ea9f356dc38c0f43.tar.gz
LegacyCamera-a8bbcd7ce25aada705561852ea9f356dc38c0f43.tar.bz2
Change the checkbox style to list style for record location preference.
Change-Id: Ie209887169623f090df0ee7a85f2709b4a54e202
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/camera_preferences.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/res/xml/camera_preferences.xml b/res/xml/camera_preferences.xml
index 273ff30..6f632e4 100644
--- a/res/xml/camera_preferences.xml
+++ b/res/xml/camera_preferences.xml
@@ -17,11 +17,12 @@
<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
+ <com.android.camera.BooleanListPreference
android:key="pref_camera_recordlocation_key"
+ android:defaultValue="@string/pref_camera_recordlocation_default"
android:title="@string/pref_camera_recordlocation_title"
- android:summary="@string/pref_camera_recordlocation_summary"
- android:defaultValue="false"/>
+ android:entries="@array/pref_camera_recordlocation_entries"
+ android:entryValues="@array/pref_camera_recordlocation_entryvalues" />
<com.android.camera.IconListPreference
android:key="pref_camera_flashmode_key"
android:defaultValue="@string/pref_camera_flashmode_default"