Moved storage managing settings to another fragment
This commit is contained in:
@@ -146,4 +146,5 @@
|
||||
<string name="settings_download_folder_name">フォルダ名パターン</string>
|
||||
<string name="settings_invalid_download_folder_name">フォルダ名に使用できない文字が含まれています</string>
|
||||
<string name="settings_download_folder_name_message">%sに含まれている文字列を対応する変数に置換します</string>
|
||||
<string name="settings_manage_storage">ストレージ管理</string>
|
||||
</resources>
|
||||
@@ -146,4 +146,5 @@
|
||||
<string name="settings_download_folder_name">폴더명 패턴</string>
|
||||
<string name="settings_invalid_download_folder_name">폴더 패턴에 사용할 수 없는 문자가 포함되어 있습니다</string>
|
||||
<string name="settings_download_folder_name_message">지원되는 변수는 %s 입니다</string>
|
||||
<string name="settings_manage_storage">저장소 관리</string>
|
||||
</resources>
|
||||
@@ -126,6 +126,10 @@
|
||||
<!-- SETTINGS/STORAGE -->
|
||||
|
||||
<string name="settings_storage">Storage</string>
|
||||
|
||||
<!-- SETTINGS/STORAGE / MANAGE STORAGE -->
|
||||
|
||||
<string name="settings_manage_storage">Manage Storage</string>
|
||||
<string name="settings_storage_usage">Currently using %s</string>
|
||||
<string name="settings_storage_usage_loading">Calculating storage usage…</string>
|
||||
<string name="settings_clear_cache">Clear cache</string>
|
||||
|
||||
34
app/src/main/res/xml/manage_storage_preferences.xml
Normal file
34
app/src/main/res/xml/manage_storage_preferences.xml
Normal 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>
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user