Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <preference-headers xmlns:android="http://schemas.android.com/apk/res/android">
- <header
- android:fragment="com.example.prefs.SettingsActivity$SettingsFragmentOne"
- android:title="Account Settings"
- android:summary="Change your account settings" />
- <header
- android:fragment="com.example.prefs.SettingsActivity$SettingsFragmentTwo"
- android:title="Email Settings"
- android:summary="Change your email settings" >
- </header>
- </preference-headers>
- <?xml version="1.0" encoding="utf-8"?>
- <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
- <PreferenceCategory
- android:title="Account Settings">
- <CheckBoxPreference
- android:key="pref_sync"
- android:title="Checkbox"
- android:summary="This is a checkbox"
- android:defaultValue="true" />
- <ListPreference
- android:dependency="pref_sync"
- android:key="pref_syncConnectionType"
- android:title="List"
- android:summary="This is a list" />
- </PreferenceCategory>
- </PreferenceScreen>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement