Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3      Copyright (C) 2014 The Android Open Source Project
      4 
      5      Licensed under the Apache License, Version 2.0 (the "License");
      6      you may not use this file except in compliance with the License.
      7      You may obtain a copy of the License at
      8 
      9           http://www.apache.org/licenses/LICENSE-2.0
     10 
     11      Unless required by applicable law or agreed to in writing, software
     12      distributed under the License is distributed on an "AS IS" BASIS,
     13      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14      See the License for the specific language governing permissions and
     15      limitations under the License.
     16 -->
     17 
     18 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
     19 
     20   <!-- Resolutions and Quality -->
     21   <PreferenceScreen
     22       android:key="pref_category_resolution"
     23       android:title="@string/pref_category_resolution_quality" >
     24     <PreferenceCategory android:title="@string/mode_camera" >
     25 
     26       <!-- BACK camera PHOTO resolution -->
     27       <ListPreference
     28           android:defaultValue="@string/pref_camera_picturesize_default"
     29           android:entryValues="@array/pref_camera_picturesize_entryvalues"
     30           android:key="pref_camera_picturesize_back_key"
     31           android:title="@string/setting_back_camera_photo" />
     32       <!-- FRONT camera PHOTO resolution -->
     33       <ListPreference
     34           android:defaultValue="@string/pref_camera_picturesize_default"
     35           android:entryValues="@array/pref_camera_picturesize_entryvalues"
     36           android:key="pref_camera_picturesize_front_key"
     37           android:title="@string/setting_front_camera_photo" />
     38     </PreferenceCategory>
     39     <PreferenceCategory android:title="@string/mode_video" >
     40 
     41       <!-- BACK camera VIDEO resolution -->
     42       <ListPreference
     43           android:defaultValue="@string/pref_video_quality_large"
     44           android:entryValues="@array/pref_video_quality_entryvalues"
     45           android:key="pref_video_quality_back_key"
     46           android:title="@string/setting_back_camera_video" />
     47       <!-- FRONT camera VIDEO resolution -->
     48       <ListPreference
     49           android:defaultValue="@string/pref_video_quality_large"
     50           android:entryValues="@array/pref_video_quality_entryvalues"
     51           android:key="pref_video_quality_front_key"
     52           android:title="@string/setting_front_camera_video" />
     53     </PreferenceCategory>
     54   </PreferenceScreen>
     55 
     56   <!-- Location -->
     57   <com.android.camera.settings.ManagedSwitchPreference
     58       android:defaultValue="false"
     59       android:key="pref_camera_recordlocation_key"
     60       android:title="@string/pref_camera_save_location_title" />
     61 
     62   <!-- Advanced -->
     63   <PreferenceScreen
     64       android:key="pref_category_advanced"
     65       android:title="@string/pref_category_advanced" >
     66     <!-- Exposure Compensation -->
     67     <com.android.camera.settings.ManagedSwitchPreference
     68         android:defaultValue="false"
     69         android:key="pref_camera_exposure_compensation_key"
     70         android:title="@string/pref_camera_exposure_compensation" />
     71   </PreferenceScreen>
     72 
     73   <!-- Google Help and feedback launcher -->
     74   <Preference
     75       android:key="pref_launch_help"
     76       android:title="@string/setting_google_help_and_feedback" />
     77 
     78 </PreferenceScreen>
     79