Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3   ~ Copyright (C) 2015 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     xmlns:app="http://schemas.android.com/apk/res-auto"
     20     app:title="@string/main_label">
     21 
     22     <ListPreference
     23         app:key="preset"
     24         app:title="@string/setting_preset_name"
     25         app:entries="@array/setting_preset_choices"
     26         app:entryValues="@array/setting_preset_values"
     27         app:defaultValue="standard"
     28         />
     29     <Preference
     30         app:key="backlight"
     31         app:title="@string/setting_backlight_name"
     32         app:defaultValue="@integer/standard_setting_backlight"
     33         />
     34     <Preference
     35         app:key="contrast"
     36         app:title="@string/setting_contrast_name"
     37         app:defaultValue="@integer/standard_setting_contrast"
     38         />
     39     <Preference
     40         app:key="brightness"
     41         app:title="@string/setting_brightness_name"
     42         app:defaultValue="@integer/standard_setting_brightness"
     43         />
     44     <Preference
     45         app:key="sharpness"
     46         app:title="@string/setting_sharpness_name"
     47         app:defaultValue="@integer/standard_setting_sharpness"
     48         />
     49     <Preference
     50         app:key="color"
     51         app:title="@string/setting_color_name"
     52         app:defaultValue="@integer/standard_setting_color"
     53         />
     54     <Preference
     55         app:key="tint"
     56         app:title="@string/setting_tint_name"
     57         app:defaultValue="@integer/standard_setting_tint"
     58         />
     59     <Preference
     60         app:key="reset"
     61         app:title="@string/setting_reset_defaults_name"
     62         app:persistent="false"
     63         />
     64 </PreferenceScreen>
     65