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         android:key="prefscreen_top">
     20 
     21   <!-- Resolutions and Quality -->
     22   <PreferenceScreen
     23       android:key="pref_category_resolution"
     24       android:title="@string/pref_category_resolution_quality" >
     25     <PreferenceCategory android:title="@string/mode_camera" >
     26 
     27       <!-- BACK camera PHOTO resolution -->
     28       <ListPreference
     29           android:defaultValue="@string/pref_camera_picturesize_default"
     30           android:entryValues="@array/pref_camera_picturesize_entryvalues"
     31           android:key="pref_camera_picturesize_back_key"
     32           android:title="@string/setting_back_camera_photo" />
     33       <!-- FRONT camera PHOTO resolution -->
     34       <ListPreference
     35           android:defaultValue="@string/pref_camera_picturesize_default"
     36           android:entryValues="@array/pref_camera_picturesize_entryvalues"
     37           android:key="pref_camera_picturesize_front_key"
     38           android:title="@string/setting_front_camera_photo" />
     39     </PreferenceCategory>
     40     <PreferenceCategory android:title="@string/mode_video" >
     41 
     42       <!-- BACK camera VIDEO resolution -->
     43       <ListPreference
     44           android:defaultValue="@string/pref_video_quality_large"
     45           android:entryValues="@array/pref_video_quality_entryvalues"
     46           android:key="pref_video_quality_back_key"
     47           android:title="@string/setting_back_camera_video" />
     48       <!-- FRONT camera VIDEO resolution -->
     49       <ListPreference
     50           android:defaultValue="@string/pref_video_quality_large"
     51           android:entryValues="@array/pref_video_quality_entryvalues"
     52           android:key="pref_video_quality_front_key"
     53           android:title="@string/setting_front_camera_video" />
     54     </PreferenceCategory>
     55   </PreferenceScreen>
     56 
     57   <!-- Location -->
     58   <com.android.camera.settings.ManagedSwitchPreference
     59       android:defaultValue="false"
     60       android:key="pref_camera_recordlocation_key"
     61       android:title="@string/pref_camera_save_location_title" />
     62 
     63   <!-- Advanced -->
     64   <PreferenceScreen
     65       android:key="pref_category_advanced"
     66       android:title="@string/pref_category_advanced" >
     67     <!-- Exposure Compensation -->
     68     <com.android.camera.settings.ManagedSwitchPreference
     69         android:defaultValue="false"
     70         android:key="pref_camera_exposure_compensation_key"
     71         android:title="@string/pref_camera_exposure_compensation" />
     72   </PreferenceScreen>
     73 
     74   <!-- Google Help and feedback launcher -->
     75   <Preference
     76       android:key="pref_launch_help"
     77       android:title="@string/setting_google_help_and_feedback" />
     78 
     79 </PreferenceScreen>
     80