1 <?xml version="1.0" encoding="utf-8"?> 2 3 <!-- 4 ~ Copyright (C) 2014 The Android Open Source Project 5 ~ 6 ~ Licensed under the Apache License, Version 2.0 (the "License"); 7 ~ you may not use this file except in compliance with the License. 8 ~ You may obtain a copy of the License at 9 ~ 10 ~ http://www.apache.org/licenses/LICENSE-2.0 11 ~ 12 ~ Unless required by applicable law or agreed to in writing, software 13 ~ distributed under the License is distributed on an "AS IS" BASIS, 14 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 ~ See the License for the specific language governing permissions and 16 ~ limitations under the License 17 --> 18 19 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> 20 21 <PreferenceCategory 22 android:key="dialer_contact_display_options_category_key" 23 android:title="@string/contact_display_options_category_title" 24 android:persistent="false"> 25 26 <com.android.contacts.common.preference.SortOrderPreference 27 android:key="sortOrder" 28 android:title="@string/display_options_sort_list_by" 29 android:dialogTitle="@string/display_options_sort_list_by" /> 30 31 <com.android.contacts.common.preference.DisplayOrderPreference 32 android:key="displayOrder" 33 android:title="@string/display_options_view_names_as" 34 android:dialogTitle="@string/display_options_view_names_as" /> 35 36 </PreferenceCategory> 37 38 <PreferenceCategory 39 android:key="dialer_general_sounds_category_key" 40 android:title="@string/sounds_and_vibrate_category_title" 41 android:persistent="false"> 42 43 <com.android.dialer.settings.DefaultRingtonePreference 44 android:key="button_ringtone_key" 45 android:title="@string/ringtone_title" 46 android:dialogTitle="@string/ringtone_title" 47 android:persistent="false" 48 android:ringtoneType="ringtone" /> 49 50 <CheckBoxPreference 51 android:key="button_play_dtmf_tone" 52 android:title="@string/dtmf_tone_enable_title" 53 android:persistent="false" 54 android:defaultValue="true" /> 55 56 <CheckBoxPreference 57 android:key="button_vibrate_on_ring" 58 android:title="@string/vibrate_on_ring_title" 59 android:persistent="false" 60 android:defaultValue="false" /> 61 62 </PreferenceCategory> 63 64 <PreferenceCategory 65 android:key="dialer_general_other_settings_category_key" 66 android:title="@string/other_settings_title" 67 android:persistent="false" > 68 69 <PreferenceScreen 70 android:key="button_respond_via_sms_key" 71 android:title="@string/respond_via_sms_setting_title" 72 android:persistent="false"> 73 74 <intent 75 android:action="android.intent.action.MAIN" 76 android:targetPackage="com.android.server.telecom" 77 android:targetClass="com.android.server.telecom.RespondViaSmsSettings$Settings" /> 78 79 </PreferenceScreen> 80 81 </PreferenceCategory> 82 83 </PreferenceScreen>