From 3b72ddd3b96f064da86ff3119274adf1358936b8 Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 22 Aug 2019 15:16:50 +0800 Subject: [PATCH] up --- .../app/ui/readbook/config/MoreConfigDialog.kt | 15 +++++++++++++++ app/src/main/res/xml/pref_config_read.xml | 4 ++++ 2 files changed, 19 insertions(+) create mode 100644 app/src/main/java/io/legado/app/ui/readbook/config/MoreConfigDialog.kt create mode 100644 app/src/main/res/xml/pref_config_read.xml diff --git a/app/src/main/java/io/legado/app/ui/readbook/config/MoreConfigDialog.kt b/app/src/main/java/io/legado/app/ui/readbook/config/MoreConfigDialog.kt new file mode 100644 index 000000000..9cbbe6270 --- /dev/null +++ b/app/src/main/java/io/legado/app/ui/readbook/config/MoreConfigDialog.kt @@ -0,0 +1,15 @@ +package io.legado.app.ui.readbook.config + +import android.os.Bundle +import androidx.preference.PreferenceFragmentCompat +import io.legado.app.R + +class MoreConfigDialog : PreferenceFragmentCompat() { + + + override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) { + addPreferencesFromResource(R.xml.pref_config_read) + } + + +} \ No newline at end of file diff --git a/app/src/main/res/xml/pref_config_read.xml b/app/src/main/res/xml/pref_config_read.xml new file mode 100644 index 000000000..65a47daa7 --- /dev/null +++ b/app/src/main/res/xml/pref_config_read.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file