pull/66/head
kunfei 5 years ago
parent 549156d652
commit 7aa349bf39
  1. 1
      app/src/main/res/values/strings.xml
  2. 40
      app/src/main/res/xml/pref_config_web_dav.xml

@ -96,6 +96,7 @@
<string name="pt_auto_download">自动下载最新章节</string> <string name="pt_auto_download">自动下载最新章节</string>
<string name="ps_auto_download">更新书籍时自动下载最新章节</string> <string name="ps_auto_download">更新书籍时自动下载最新章节</string>
<string name="backup_restore">备份与恢复</string> <string name="backup_restore">备份与恢复</string>
<string name="web_dav_set">WebDav设置</string>
<string name="web_dav_set_import_old">WebDav设置/导入旧版本数据</string> <string name="web_dav_set_import_old">WebDav设置/导入旧版本数据</string>
<string name="backup">备份</string> <string name="backup">备份</string>
<string name="restore">恢复</string> <string name="restore">恢复</string>

@ -2,23 +2,29 @@
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" <androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:app="http://schemas.android.com/apk/res-auto">
<androidx.preference.EditTextPreference <io.legado.app.lib.theme.prefs.ATEPreferenceCategory
android:key="web_dav_url" android:title="@string/web_dav_set"
android:title="WebDav 服务器地址" app:iconSpaceReserved="false">
android:summary="@string/web_dav_url_s"
app:iconSpaceReserved="false" /> <androidx.preference.EditTextPreference
android:key="web_dav_url"
<androidx.preference.EditTextPreference android:title="WebDav 服务器地址"
android:key="web_dav_account" android:summary="@string/web_dav_url_s"
android:title="WebDav 账号" app:iconSpaceReserved="false" />
android:summary="@string/web_dav_account_s"
app:iconSpaceReserved="false" /> <androidx.preference.EditTextPreference
android:key="web_dav_account"
<androidx.preference.EditTextPreference android:title="WebDav 账号"
android:key="web_dav_password" android:summary="@string/web_dav_account_s"
android:title="WebDav 密码" app:iconSpaceReserved="false" />
android:summary="@string/web_dav_pw_s"
app:iconSpaceReserved="false" /> <androidx.preference.EditTextPreference
android:key="web_dav_password"
android:title="WebDav 密码"
android:summary="@string/web_dav_pw_s"
app:iconSpaceReserved="false" />
</io.legado.app.lib.theme.prefs.ATEPreferenceCategory>
<io.legado.app.lib.theme.prefs.ATEPreferenceCategory app:iconSpaceReserved="false"> <io.legado.app.lib.theme.prefs.ATEPreferenceCategory app:iconSpaceReserved="false">

Loading…
Cancel
Save