Skip to content

Commit

Permalink
add preference xml resource
Browse files Browse the repository at this point in the history
will work on real preferences this way
  • Loading branch information
gregkh committed Jun 10, 2010
1 parent 28d7244 commit 19e6fcb
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions res/xml/preference.xml
Original file line number Diff line number Diff line change
@@ -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.