• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<PreferenceScreen
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:title="@string/settings">
20
21    <CheckBoxPreference
22        android:key="alarm_in_silent_mode"
23        android:title="@string/alarm_in_silent_mode_title"
24        android:summary="@string/alarm_in_silent_mode_summary" />
25
26    <VolumePreference
27        android:title="@string/alarm_volume_title"
28        android:summary="@string/alarm_volume_summary"
29        android:dialogTitle="@string/alarm_volume_title"
30        android:persistent="false"
31        android:streamType="alarm" />
32
33    <ListPreference
34        android:key="snooze_duration"
35        android:title="@string/snooze_duration_title"
36        android:entries="@array/snooze_duration_entries"
37        android:entryValues="@array/snooze_duration_values"
38        android:defaultValue="10"
39        android:dialogTitle="@string/snooze_duration_title" />
40
41    <ListPreference
42        android:key="volume_button_setting"
43        android:title="@string/volume_button_setting_title"
44        android:entries="@array/volume_button_setting_entries"
45        android:entryValues="@array/volume_button_setting_values"
46        android:summary="@string/volume_button_setting_summary"
47        android:defaultValue="2" />
48
49</PreferenceScreen>
50