OSDN Git Service

Allow picking ringtones as alarm alerts.
[android-x86/packages-apps-DeskClock.git] / res / xml / alarm_prefs.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2008 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 xmlns:android="http://schemas.android.com/apk/res/android"
18         android:title="@string/set_alarm">
19     <Preference android:key="time" 
20         android:persistent="false"
21         android:title="@string/time"/>
22     <com.android.deskclock.AlarmPreference
23         android:key="alarm" 
24         android:title="@string/alert"
25         android:ringtoneType="alarm|ringtone"
26         android:persistent="false"
27         android:showDefault="false"
28         android:showSilent="true" />
29     <CheckBoxPreference android:key="vibrate" 
30         android:persistent="false"
31         android:title="@string/alarm_vibrate"/>
32     <com.android.deskclock.RepeatPreference
33         android:persistent="false"
34         android:key="setRepeat" 
35         android:title="@string/alarm_repeat" />
36     <EditTextPreference android:key="label"
37         android:persistent="false"
38         android:title="@string/label"
39         android:dialogTitle="@string/label" />
40 </PreferenceScreen>