Permalink
Browse files

add preference xml resource

will work on real preferences this way
  • Loading branch information...
gregkh committed Jun 10, 2010
1 parent 28d7244 commit 19e6fcb14799fa8b420fed56c8e58d61a5912ed3
Showing with 19 additions and 0 deletions.
  1. +19 −0 res/xml/preference.xml
View
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android">
+ <PreferenceCategory
+ android:title="Time Zone">
+ <CheckBoxPreference
+ android:key="PREF_CHECK_BOX"
+ android:title="Check box Preserence"
+ android:summary="Check Box Preference Description"
+ android:defaultValue="true"
+ />
+ <ListPreference
+ android:key="PREF_TIME_ZONE"
+ android:title="Time Zone for this Widget"
+ android:summary="The time zone you want to use here"
+ android:dialogTitle="Time Zones">
+ </ListPreference>
+</PreferenceCategory>
+</PreferenceScreen>

0 comments on commit 19e6fcb

Please sign in to comment.