Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
- <PreferenceCategory
- android:title="@string/enable_disable"
- android:key="pref_cat_enable_disable">
- <SwitchPreference
- android:key="pref_enable_disable"
- android:title="@string/enable_notification"
- android:disableDependentsState="false"
- android:defaultValue="false"
- android:persistent="true"
- />
- <CheckBoxPreference
- android:dependency="pref_enable_disable"
- android:key="pref_enable_on_boot"
- android:title="@string/enable_on_boot"
- android:defaultValue="true"
- android:persistent="true"
- />
- </PreferenceCategory>
- <PreferenceCategory
- android:title="@string/information"
- android:key="pref_cat_information">
- <CheckBoxPreference
- android:dependency="pref_enable_disable"
- android:key="pref_show_ip"
- android:title="@string/show_ip"
- android:defaultValue="true"
- android:persistent="true"
- />
- <CheckBoxPreference
- android:dependency="pref_enable_disable"
- android:key="pref_show_connection_speed"
- android:title="@string/show_connection_speed"
- android:defaultValue="true"
- android:persistent="true"
- />
- </PreferenceCategory>
- <PreferenceCategory
- android:title="@string/appearance"
- android:key="pref_cat_appearance">
- <Preference
- android:dependency="pref_enable_disable"
- android:key="pref_notification_icon_style"
- android:title="@string/notification_icon_style"
- android:defaultValue="02"
- android:persistent="true"
- />
- </PreferenceCategory>
- </PreferenceScreen>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement