Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2014
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.88 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
  3.     <PreferenceCategory
  4.        android:title="@string/enable_disable"
  5.        android:key="pref_cat_enable_disable">
  6.         <SwitchPreference
  7.             android:key="pref_enable_disable"
  8.             android:title="@string/enable_notification"
  9.             android:disableDependentsState="false"
  10.             android:defaultValue="false"
  11.             android:persistent="true"
  12.             />
  13.         <CheckBoxPreference
  14.             android:dependency="pref_enable_disable"
  15.             android:key="pref_enable_on_boot"
  16.             android:title="@string/enable_on_boot"
  17.             android:defaultValue="true"
  18.             android:persistent="true"
  19.             />
  20.     </PreferenceCategory>
  21.     <PreferenceCategory
  22.        android:title="@string/information"
  23.        android:key="pref_cat_information">
  24.         <CheckBoxPreference
  25.            android:dependency="pref_enable_disable"
  26.            android:key="pref_show_ip"
  27.            android:title="@string/show_ip"
  28.            android:defaultValue="true"
  29.            android:persistent="true"
  30.            />
  31.         <CheckBoxPreference
  32.            android:dependency="pref_enable_disable"
  33.            android:key="pref_show_connection_speed"
  34.            android:title="@string/show_connection_speed"
  35.            android:defaultValue="true"
  36.            android:persistent="true"
  37.            />
  38.     </PreferenceCategory>
  39.     <PreferenceCategory
  40.        android:title="@string/appearance"
  41.        android:key="pref_cat_appearance">
  42.         <Preference
  43.            android:dependency="pref_enable_disable"
  44.            android:key="pref_notification_icon_style"
  45.            android:title="@string/notification_icon_style"
  46.            android:defaultValue="02"
  47.            android:persistent="true"
  48.            />
  49.     </PreferenceCategory>
  50. </PreferenceScreen>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement