Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2009 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7           http://www.apache.org/licenses/LICENSE-2.0
      8      Unless required by applicable law or agreed to in writing, software
      9      distributed under the License is distributed on an "AS IS" BASIS,
     10      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     11      See the License for the specific language governing permissions and
     12      limitations under the License.
     13 -->
     14 
     15 <PreferenceScreen
     16     xmlns:android="http://schemas.android.com/apk/res/android"
     17     android:title="@string/settings">
     18     <PreferenceCategory
     19         android:title="@string/clock_settings">
     20         <ListPreference
     21             android:key="clock_style"
     22             android:title="@string/clock_style"
     23             android:entries="@array/clock_style_entries"
     24             android:entryValues="@array/clock_style_values"
     25             android:defaultValue="@string/default_clock_style"
     26             android:dialogTitle="@string/clock_style" />
     27 
     28         <SwitchPreference
     29             android:key="automatic_home_clock"
     30             android:title="@string/automatic_home_clock"
     31             android:summary="@string/automatic_home_clock_summary"
     32             android:defaultValue="true" />
     33 
     34         <ListPreference
     35             android:key="home_time_zone"
     36             android:entries="@array/timezone_labels"
     37             android:entryValues="@array/timezone_values"
     38             android:dialogTitle="@string/home_time_zone_title"
     39             android:title="@string/home_time_zone" />
     40 
     41         <Preference
     42             android:key="date_time"
     43             android:title="@string/open_date_settings" />
     44     </PreferenceCategory>
     45 
     46     <PreferenceCategory
     47         android:title="@string/alarm_settings">
     48         <ListPreference
     49             android:key="auto_silence"
     50             android:title="@string/auto_silence_title"
     51             android:entries="@array/auto_silence_entries"
     52             android:entryValues="@array/auto_silence_values"
     53             android:defaultValue="10"
     54             android:dialogTitle="@string/auto_silence_title" />
     55 
     56        <com.android.deskclock.settings.SnoozeLengthDialog
     57             android:key="snooze_duration"
     58             android:title="@string/snooze_duration_title"
     59             android:defaultValue="10"/>
     60 
     61         <Preference
     62             android:key="volume_setting"
     63             android:title="@string/alarm_volume_title" />
     64 
     65         <com.android.deskclock.settings.CrescendoLengthDialog
     66             android:key="alarm_crescendo_duration"
     67             android:title="@string/crescendo_duration_title"
     68             android:defaultValue="0"/>
     69 
     70         <ListPreference
     71             android:key="volume_button_setting"
     72             android:title="@string/volume_button_setting_title"
     73             android:dialogTitle="@string/volume_button_setting_title"
     74             android:entries="@array/volume_button_setting_entries"
     75             android:entryValues="@array/volume_button_setting_values"
     76             android:defaultValue="0" />
     77 
     78         <ListPreference
     79             android:key="week_start"
     80             android:title="@string/week_start_title"
     81             android:dialogTitle="@string/week_start_title"
     82             android:entries="@array/week_start_entries"
     83             android:entryValues="@array/week_start_values" />
     84     </PreferenceCategory>
     85 
     86     <PreferenceCategory
     87         android:title="@string/timer_settings">
     88         <com.android.deskclock.settings.TimerRingtonePreference
     89             android:key="timer_ringtone"
     90             android:title="@string/timer_ringtone_title"
     91             android:ringtoneType="alarm" />
     92 
     93         <com.android.deskclock.settings.CrescendoLengthDialog
     94             android:key="timer_crescendo_duration"
     95             android:title="@string/crescendo_duration_title"
     96             android:defaultValue="0"/>
     97     </PreferenceCategory>
     98 
     99 </PreferenceScreen>
    100