1 <?xml version="1.0" encoding="utf-8"?>
4 * Copyright (C) 2008 Esmertec AG.
5 * Copyright (C) 2008 The Android Open Source Project
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
21 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
22 <PreferenceCategory android:title="@string/setting_title">
24 android:key="hide-offline-contacts"
25 android:title="@string/hide_offline_contacts"
26 android:defaultValue="false"
27 android:persistent="false" />
30 <PreferenceCategory android:title="@string/notification_group_title">
33 android:key="enable-notifications"
34 android:title="@string/notification_enabled_title"
35 android:summary="@string/notification_enabled_summary"
36 android:defaultValue="true"
37 android:persistent="false" />
40 android:layout="?android:attr/preferenceLayoutChild"
41 android:dependency="enable-notifications"
42 android:key="notification-vibrate"
43 android:defaultValue="false"
44 android:persistent="false"
45 android:title="@string/notification_vibrate_title"
46 android:summary="@string/notification_vibrate_summary" />
49 android:layout="?android:attr/preferenceLayoutChild"
50 android:dependency="enable-notifications"
51 android:defaultValue="true"
52 android:persistent="false"
53 android:key="notification-sound"
54 android:title="@string/notification_sound_title"
55 android:summary="@string/notification_sound_summary" />
57 <com.android.im.app.ImRingtonePreference
58 android:layout="?android:attr/preferenceLayoutChild"
59 android:dependency="notification-sound"
60 android:key="notification-ringtone"
61 android:persistent="false"
62 android:title="@string/notification_ringtone_title"
63 android:ringtoneType="notification" />