aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Zelent <zelent.marcin@gmail.com>2018-03-29 15:58:03 +0200
committerMarcin Zelent <zelent.marcin@gmail.com>2018-03-29 15:58:03 +0200
commit14e6b8b0171601c7392d13c4c79e38c2e55df928 (patch)
tree837d4fbe59f9723ffcd9deccaaec60d3bbdd4725 /app/src/main/res/xml/pref_headers.xml
parentffd565bf02a180a249f361b29395f716c0ac2b40 (diff)
Added fragments
Diffstat (limited to 'app/src/main/res/xml/pref_headers.xml')
-rw-r--r--app/src/main/res/xml/pref_headers.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/src/main/res/xml/pref_headers.xml b/app/src/main/res/xml/pref_headers.xml
new file mode 100644
index 0000000..0112e90
--- /dev/null
+++ b/app/src/main/res/xml/pref_headers.xml
@@ -0,0 +1,20 @@
+<preference-headers xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <!-- These settings headers are only used on tablets. -->
+
+ <header
+ android:fragment="org.marcinzelent.liberavem.SettingsActivity$GeneralPreferenceFragment"
+ android:icon="@drawable/ic_info_black_24dp"
+ android:title="@string/pref_header_general" />
+
+ <header
+ android:fragment="org.marcinzelent.liberavem.SettingsActivity$NotificationPreferenceFragment"
+ android:icon="@drawable/ic_notifications_black_24dp"
+ android:title="@string/pref_header_notifications" />
+
+ <header
+ android:fragment="org.marcinzelent.liberavem.SettingsActivity$DataSyncPreferenceFragment"
+ android:icon="@drawable/ic_sync_black_24dp"
+ android:title="@string/pref_header_data_sync" />
+
+</preference-headers>