diff options
author | David Luhmer <david-dev@live.de> | 2019-04-07 18:46:23 +0300 |
---|---|---|
committer | David Luhmer <david-dev@live.de> | 2019-04-07 18:46:23 +0300 |
commit | 26c90c228cd138856371ef042839e10a84bf8ef2 (patch) | |
tree | 7e6c69824aee562bc478ce51d68eac063f656128 /News-Android-App/src/main/res/xml | |
parent | 8af4210fc819b59491d9664b4f70a2ae2d81ba24 (diff) |
upgrade settings to AppCompatActivity (remove tablet view) / streamline preference access
Diffstat (limited to 'News-Android-App/src/main/res/xml')
-rw-r--r-- | News-Android-App/src/main/res/xml/pref_data_sync.xml | 4 | ||||
-rw-r--r-- | News-Android-App/src/main/res/xml/pref_empty.xml | 3 | ||||
-rw-r--r-- | News-Android-App/src/main/res/xml/pref_headers.xml | 50 |
3 files changed, 1 insertions, 56 deletions
diff --git a/News-Android-App/src/main/res/xml/pref_data_sync.xml b/News-Android-App/src/main/res/xml/pref_data_sync.xml index a7949657..bf2da08d 100644 --- a/News-Android-App/src/main/res/xml/pref_data_sync.xml +++ b/News-Android-App/src/main/res/xml/pref_data_sync.xml @@ -43,10 +43,8 @@ android:title="@string/pref_title_data_sync_max_items" /> --> - <EditTextPreference + <Preference android:key="edt_clearCache" - android:maxLines="1" - android:singleLine="true" android:title="@string/pref_title_clearCache" app:iconSpaceReserved="false"/> diff --git a/News-Android-App/src/main/res/xml/pref_empty.xml b/News-Android-App/src/main/res/xml/pref_empty.xml deleted file mode 100644 index 7a784dd9..00000000 --- a/News-Android-App/src/main/res/xml/pref_empty.xml +++ /dev/null @@ -1,3 +0,0 @@ -<androidx.preference.PreferenceScreen> - <!-- This layout definition is EMPTY ON PURPOSE, it's needed to initialise a settings screen to add a first-section header to --> -</androidx.preference.PreferenceScreen>
\ No newline at end of file diff --git a/News-Android-App/src/main/res/xml/pref_headers.xml b/News-Android-App/src/main/res/xml/pref_headers.xml deleted file mode 100644 index 6c1ff03a..00000000 --- a/News-Android-App/src/main/res/xml/pref_headers.xml +++ /dev/null @@ -1,50 +0,0 @@ -<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto"> - - <!-- These settings headers are only used on tablets. --> - - <Preference - android:fragment="de.luhmer.owncloudnewsreader.SettingsActivity$EmptyPreferenceFragment" - android:title="" - app:iconSpaceReserved="false"/> - - <Preference - android:fragment="de.luhmer.owncloudnewsreader.SettingsActivity$GeneralPreferenceFragment" - android:title="@string/pref_header_general" - app:iconSpaceReserved="false"/> - - <Preference - android:fragment="de.luhmer.owncloudnewsreader.SettingsActivity$DisplayPreferenceFragment" - android:title="@string/pref_header_display" - app:iconSpaceReserved="false"/> - - <Preference - android:fragment="de.luhmer.owncloudnewsreader.SettingsActivity$NotificationPreferenceFragment" - android:title="@string/pref_header_notifications" - app:iconSpaceReserved="false"/> - - <Preference - android:fragment="de.luhmer.owncloudnewsreader.SettingsActivity$DataSyncPreferenceFragment" - android:title="@string/pref_header_data_sync" - app:iconSpaceReserved="false"/> - - <Preference - android:fragment="de.luhmer.owncloudnewsreader.SettingsActivity$AboutPreferenceFragment" - android:title="@string/pref_header_about" - app:iconSpaceReserved="false"/> - - - <!-- - <Preference - android:fragment="de.luhmer.owncloudnewsreader.SettingsActivity$PodcastPreferenceFragment" - android:title="@string/pref_header_podcast" - app:iconSpaceReserved="false"/> - --> - - <!-- - <Preference - android:fragment="de.luhmer.owncloudnewsreader.SettingsActivity$DataSyncPreferenceFragment" - android:title="@string/pref_header_data_sync" - app:iconSpaceReserved="false"/> ---> -</androidx.preference.PreferenceScreen>
\ No newline at end of file |