The Android Open Source Project | 1d4c750 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2008 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <!-- This is a primitive example showing the different types of preferences available. --> |
| 18 | <PreferenceScreen |
| 19 | xmlns:android="http://schemas.android.com/apk/res/android"> |
| 20 | |
| 21 | <PreferenceCategory |
The Android Open Source Project | 0eaec58 | 2008-12-17 18:05:54 -0800 | [diff] [blame] | 22 | android:title="@string/pref_camera_general_settings_category"> |
The Android Open Source Project | b97ccf3 | 2009-01-09 17:51:25 -0800 | [diff] [blame^] | 23 | |
The Android Open Source Project | 1d4c750 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 24 | <CheckBoxPreference |
| 25 | android:key="pref_camera_recordlocation_key" |
| 26 | android:title="@string/pref_camera_recordlocation_title" |
| 27 | android:summary="@string/pref_camera_recordlocation_summary" |
| 28 | android:defaultValue="false"/> |
The Android Open Source Project | 1d4c750 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 29 | </PreferenceCategory> |
The Android Open Source Project | 0eaec58 | 2008-12-17 18:05:54 -0800 | [diff] [blame] | 30 | |
| 31 | <PreferenceCategory |
| 32 | android:title="@string/pref_camera_videoquality_category"> |
The Android Open Source Project | b97ccf3 | 2009-01-09 17:51:25 -0800 | [diff] [blame^] | 33 | <!-- android:summary is filled in by CameraSettings --> |
The Android Open Source Project | 0eaec58 | 2008-12-17 18:05:54 -0800 | [diff] [blame] | 34 | <ListPreference |
| 35 | android:key="pref_camera_videoquality_key" |
| 36 | android:defaultValue="@string/pref_camera_videoquality_default" |
| 37 | android:title="@string/pref_camera_videoquality_title" |
The Android Open Source Project | 0eaec58 | 2008-12-17 18:05:54 -0800 | [diff] [blame] | 38 | android:entries="@array/pref_camera_videoquality_entries" |
| 39 | android:entryValues="@array/pref_camera_videoquality_entryvalues" |
| 40 | android:dialogTitle="@string/pref_camera_videoquality_dialogtitle" /> |
| 41 | </PreferenceCategory> |
The Android Open Source Project | 1d4c750 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 42 | </PreferenceScreen> |