1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 ~ Copyright (C) 2015 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License 16 --> 17 18 <android.support.v7.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> 19 <android.support.v14.preference.SwitchPreference 20 android:key="@string/pref_key_tracing_on" 21 android:title="@string/record_trace" /> 22 <android.support.v14.preference.SwitchPreference 23 android:key="@string/pref_key_apps" 24 android:title="@string/trace_debuggable_applications" 25 android:defaultValue="true" /> 26 <android.support.v14.preference.MultiSelectListPreference 27 android:key="@string/pref_key_tags" 28 android:title="@string/categories" /> 29 <Preference 30 android:key="restore_default_tags" 31 android:persistent="false" 32 android:title="@string/restore_default_categories" /> 33 <android.support.v7.preference.ListPreference 34 android:key="@string/pref_key_buffer_size" 35 android:title="@string/buffer_size" 36 android:entries="@array/buffer_size_values" 37 android:entryValues="@array/buffer_size_values"/> 38 <Preference 39 android:key="clear_saved_traces" 40 android:persistent="false" 41 android:title="@string/clear_saved_traces" /> 42 <android.support.v14.preference.SwitchPreference 43 android:key="@string/pref_key_quick_setting" 44 android:title="@string/show_quick_settings_tile" 45 android:defaultValue="false" /> 46 </android.support.v7.preference.PreferenceScreen> 47