Moved storage managing settings to another fragment

This commit is contained in:
tom5079
2020-09-02 13:28:05 +09:00
parent 4409664698
commit ead68b5201
8 changed files with 210 additions and 113 deletions

View File

@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Pupil, Hitomi.la viewer for Android
~ Copyright (C) 2020 tom5079
~
~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
<Preference
app:key="delete_cache"
app:title="@string/settings_clear_cache"/>
<Preference
app:key="delete_downloads"
app:title="@string/settings_clear_downloads"/>
<Preference
app:key="clear_history"
app:title="@string/settings_clear_history"/>
</PreferenceScreen>

View File

@@ -32,16 +32,8 @@
app:title="@string/settings_storage">
<Preference
app:key="delete_cache"
app:title="@string/settings_clear_cache"/>
<Preference
app:key="delete_downloads"
app:title="@string/settings_clear_downloads"/>
<Preference
app:key="clear_history"
app:title="@string/settings_clear_history"/>
app:fragment="xyz.quaver.pupil.ui.fragment.ManageStorageFragment"
app:title="@string/settings_manage_storage" />
<EditTextPreference
app:key="download_folder_name"