Advertisement
Guest User

Settings Screen Layout

a guest
Feb 4th, 2013
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.92 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
  3.  
  4.     <PreferenceCategory
  5.        android:key="pref_key_storage_settings"
  6.        android:title="Basics" >
  7.  
  8.         <CheckBoxPreference
  9.            android:id="@+id/application_enabled"
  10.            android:defaultValue="true"
  11.            android:key="pref_enabled"
  12.            android:summary="Untick this to deactivate call management by this application"
  13.            android:title="Enable &apos;My Little Phony&apos; Manager" />
  14.  
  15.         <CheckBoxPreference
  16.            android:id="@+id/sms_enabled"
  17.            android:defaultValue="false"
  18.            android:key="pref_sms"
  19.            android:summary="Tick this to send automatic text messages to blocked callers to let them know you&apos;re busy. Charges may apply"
  20.            android:title="Enable auto-SMS response" />
  21.  
  22.         <CheckBoxPreference
  23.            android:id="@+id/notification_enabled"
  24.            android:defaultValue="true"
  25.            android:key="pref_notification"
  26.            android:summary="@string/pref_sync_summ"
  27.            android:title="Enable Notification" />
  28.  
  29.         <CheckBoxPreference
  30.            android:id="@+id/led_notification"
  31.            android:defaultValue="false"
  32.            android:key="pref_led"
  33.            android:summary="Use Phones LED to display that phone calls will be blocked. (Will only work on devices with Notification LED)"
  34.            android:title="Use Notification LED" />
  35.  
  36.         <CheckBoxPreference
  37.            android:id="@+id/notification_center"
  38.            android:defaultValue="true"
  39.            android:key="pref_center"
  40.            android:summary="Use the Android Notification Center to display an &apos;ongoing&apos; Notification to indicate that phone calls will be blocked"
  41.            android:title="Use Notification Center" />
  42.     </PreferenceCategory>
  43.  
  44. </PreferenceScreen>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement