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 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
     18   <PreferenceCategory
     19             android:title="@string/pref_title_global"
     20             android:key="pref_key_global_settings">
     21     <CheckBoxPreference
     22             android:persistent="true"
     23             android:key="pref_key_global_fade"
     24             android:summary="@string/pref_summary_global_fade"
     25             android:title="@string/pref_title_global_fade"
     26             android:defaultValue="true" />
     27   </PreferenceCategory>
     28   <PreferenceCategory
     29             android:title="@string/pref_title_sms"
     30             android:key="pref_key_sms_settings">
     31     <CheckBoxPreference
     32             android:persistent="true"
     33             android:key="pref_key_sms_enable"
     34             android:summary="@string/pref_summary_sms_enable"
     35             android:title="@string/pref_title_enable"
     36             android:defaultValue="true" />
     37     <CheckBoxPreference
     38             android:persistent="true"
     39             android:key="pref_key_sms_noisy"
     40             android:dependency="pref_key_sms_enable"
     41             android:summary="@string/pref_summary_sms_noisy"
     42             android:title="@string/pref_title_sms_noisy"
     43             android:defaultValue="true" />
     44       <RingtonePreference
     45             android:persistent="true"
     46             android:key="pref_key_sms_sound"
     47             android:dependency="pref_key_sms_enable"
     48             android:ringtoneType="notification"
     49             android:title="@string/pref_title_sms_sound" />
     50     <CheckBoxPreference
     51             android:persistent="true"
     52             android:key="pref_key_sms_buzzy"
     53             android:dependency="pref_key_sms_enable"
     54             android:summary="@string/pref_summary_sms_buzzy"
     55             android:title="@string/pref_title_sms_buzzy"
     56             android:defaultValue="true" />
     57     <ListPreference android:key="pref_key_sms_priority"
     58             android:persistent="true"
     59             android:dependency="pref_key_sms_enable"
     60             android:title="@string/pref_title_sms_priority"
     61             android:entries="@array/priority_names"
     62             android:entryValues="@array/priority_values"
     63             android:defaultValue="0"/>
     64       <CheckBoxPreference
     65               android:persistent="true"
     66               android:key="pref_key_sms_once"
     67               android:dependency="pref_key_sms_enable"
     68               android:summary="@string/pref_summary_sms_once"
     69               android:title="@string/pref_title_sms_once"
     70               android:defaultValue="true" />
     71     <CheckBoxPreference
     72             android:persistent="true"
     73             android:dependency="pref_key_sms_enable"
     74             android:key="pref_key_sms_person"
     75             android:summary="@string/pref_summary_sms_person"
     76             android:title="@string/pref_title_sms_person"
     77             android:defaultValue="true" />
     78   </PreferenceCategory>
     79   <PreferenceCategory
     80         android:title="@string/pref_title_phone"
     81         android:key="pref_key_phone_settings">
     82     <CheckBoxPreference
     83             android:persistent="true"
     84             android:key="pref_key_phone_enable"
     85             android:summary="@string/pref_summary_phone_enable"
     86             android:title="@string/pref_title_enable"
     87             android:defaultValue="true" />
     88     <CheckBoxPreference
     89             android:persistent="true"
     90             android:key="pref_key_phone_noisy"
     91             android:dependency="pref_key_phone_enable"
     92             android:summary="@string/pref_summary_phone_noisy"
     93             android:title="@string/pref_title_phone_noisy"
     94             android:defaultValue="true" />
     95     <CheckBoxPreference
     96             android:persistent="true"
     97             android:key="pref_key_phone_fullscreen"
     98             android:dependency="pref_key_phone_enable"
     99             android:summary="@string/pref_summary_phone_fullscreen"
    100             android:title="@string/pref_title_phone_fullscreen"
    101             android:defaultValue="true" />
    102     <CheckBoxPreference
    103             android:persistent="true"
    104             android:key="pref_key_phone_person"
    105             android:dependency="pref_key_phone_enable"
    106             android:summary="@string/pref_summary_phone_person"
    107             android:title="@string/pref_title_phone_person"
    108             android:defaultValue="true" />
    109   </PreferenceCategory>
    110   <PreferenceCategory
    111         android:title="@string/pref_title_upload"
    112         android:key="pref_key_upload_settings">
    113     <CheckBoxPreference
    114             android:persistent="true"
    115             android:key="pref_key_upload_enable"
    116             android:summary="@string/pref_summary_upload_enable"
    117             android:title="@string/pref_title_enable"
    118             android:defaultValue="true" />
    119   </PreferenceCategory>
    120   <PreferenceCategory
    121         android:title="@string/pref_title_timer"
    122         android:key="pref_key_timer_settings">
    123     <CheckBoxPreference
    124             android:persistent="true"
    125             android:key="pref_key_timer_enable"
    126             android:summary="@string/pref_summary_timer_enable"
    127             android:title="@string/pref_title_enable"
    128             android:defaultValue="true" />
    129   </PreferenceCategory>
    130   <PreferenceCategory
    131         android:title="@string/pref_title_calendar"
    132         android:key="pref_key_calendar_settings">
    133     <CheckBoxPreference
    134             android:persistent="true"
    135             android:key="pref_key_calendar_enable"
    136             android:summary="@string/pref_summary_calendar_enable"
    137             android:title="@string/pref_title_enable"
    138             android:defaultValue="true" />
    139   </PreferenceCategory>
    140   <PreferenceCategory
    141         android:title="@string/pref_title_picture"
    142         android:key="pref_key_picture_settings">
    143     <CheckBoxPreference
    144             android:persistent="true"
    145             android:key="pref_key_picture_enable"
    146             android:summary="@string/pref_summary_picture_enable"
    147             android:title="@string/pref_title_enable"
    148             android:defaultValue="true" />
    149   </PreferenceCategory>
    150   <PreferenceCategory
    151         android:title="@string/pref_title_inbox"
    152         android:key="pref_key_inbox_settings">
    153     <CheckBoxPreference
    154             android:persistent="true"
    155             android:key="pref_key_inbox_enable"
    156             android:summary="@string/pref_summary_inbox_enable"
    157             android:title="@string/pref_title_enable"
    158             android:defaultValue="true" />
    159   </PreferenceCategory>
    160   <PreferenceCategory
    161         android:title="@string/pref_title_social"
    162         android:key="pref_key_social_settings">
    163     <CheckBoxPreference
    164             android:persistent="true"
    165             android:key="pref_key_social_enable"
    166             android:summary="@string/pref_summary_social_enable"
    167             android:title="@string/pref_title_enable"
    168             android:defaultValue="true" />
    169   </PreferenceCategory>
    170 </PreferenceScreen>
    171