| <?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> |
| |
| <PreferenceCategory |
| android:title="@string/pref_camera_picture_settings_category"> |
| <!-- summary, entries, entryValues are filled in by CameraSettings --> |
| <ListPreference |
| android:key="pref_camera_whitebalance_key" |
| android:defaultValue="@string/pref_camera_whitebalance_default" |
| android:title="@string/pref_camera_whitebalance_title" |
| android:dialogTitle="@string/pref_camera_whitebalance_dialogtitle" /> |
| |
| <ListPreference |
| android:key="pref_camera_effect_key" |
| android:defaultValue="@string/pref_camera_effect_default" |
| android:title="@string/pref_camera_effect_title" |
| android:dialogTitle="@string/pref_camera_effect_dialogtitle" /> |
| |
| <ListPreference |
| android:key="pref_camera_picturesize_key" |
| android:defaultValue="@string/pref_camera_picturesize_default" |
| android:title="@string/pref_camera_picturesize_title" |
| android:dialogTitle="@string/pref_camera_picturesize_dialogtitle" /> |
| |
| <ListPreference |
| android:key="pref_camera_jpegquality_key" |
| android:defaultValue="@string/pref_camera_jpegquality_default" |
| android:title="@string/pref_camera_jpegquality_title" |
| android:entries="@array/pref_camera_jpegquality_entries" |
| android:entryValues="@array/pref_camera_jpegquality_entryvalues" |
| android:dialogTitle="@string/pref_camera_jpegquality_dialogtitle" /> |
| </PreferenceCategory> |
| |
| </PreferenceScreen> |