summaryrefslogtreecommitdiffstats
path: root/res/xml/camera_preferences.xml
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:32:20 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:32:20 -0800
commitb64d345c9d51cabce43b5191532a0c185d2a70a5 (patch)
treecb393a35078ffef3dc6d6c0cfa0d9cd349e8cf08 /res/xml/camera_preferences.xml
parentbecfb351a5bc43050128f44eb1bcfbcc0c6dcb7a (diff)
downloadLegacyCamera-b64d345c9d51cabce43b5191532a0c185d2a70a5.zip
LegacyCamera-b64d345c9d51cabce43b5191532a0c185d2a70a5.tar.gz
LegacyCamera-b64d345c9d51cabce43b5191532a0c185d2a70a5.tar.bz2
auto import from //depot/cupcake/@135843
Diffstat (limited to 'res/xml/camera_preferences.xml')
-rw-r--r--res/xml/camera_preferences.xml42
1 files changed, 42 insertions, 0 deletions
diff --git a/res/xml/camera_preferences.xml b/res/xml/camera_preferences.xml
new file mode 100644
index 0000000..4d8b7b7
--- /dev/null
+++ b/res/xml/camera_preferences.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2008 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- This is a primitive example showing the different types of preferences available. -->
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <PreferenceCategory
+ android:title="@string/pref_camera_general_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"/>
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:title="@string/pref_camera_videoquality_category">
+ <!-- android:summary is filled in by CameraSettings -->
+ <ListPreference
+ android:key="pref_camera_videoquality_key"
+ android:defaultValue="@string/pref_camera_videoquality_default"
+ android:title="@string/pref_camera_videoquality_title"
+ android:entries="@array/pref_camera_videoquality_entries"
+ android:entryValues="@array/pref_camera_videoquality_entryvalues"
+ android:dialogTitle="@string/pref_camera_videoquality_dialogtitle" />
+ </PreferenceCategory>
+</PreferenceScreen>