From 71ac26980c53d8244fb43e1196cb529ea1ffbd8f Mon Sep 17 00:00:00 2001 From: yangyxd Date: Thu, 19 Mar 2020 17:39:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4"=E6=88=91=E7=9A=84"UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/ui/widget/prefs/ColorPreference.kt | 2 +- app/src/main/res/layout/view_preference_s.xml | 66 ------------------- 2 files changed, 1 insertion(+), 67 deletions(-) delete mode 100644 app/src/main/res/layout/view_preference_s.xml diff --git a/app/src/main/java/io/legado/app/ui/widget/prefs/ColorPreference.kt b/app/src/main/java/io/legado/app/ui/widget/prefs/ColorPreference.kt index 998e9c7c4..9b619c551 100644 --- a/app/src/main/java/io/legado/app/ui/widget/prefs/ColorPreference.kt +++ b/app/src/main/java/io/legado/app/ui/widget/prefs/ColorPreference.kt @@ -47,7 +47,7 @@ class ColorPreference(context: Context, attrs: AttributeSet) : Preference(contex init { isPersistent = true - layoutResource = io.legado.app.R.layout.view_preference_s + layoutResource = io.legado.app.R.layout.view_preference val a = context.obtainStyledAttributes(attrs, R.styleable.ColorPreference) showDialog = a.getBoolean(R.styleable.ColorPreference_cpv_showDialog, true) diff --git a/app/src/main/res/layout/view_preference_s.xml b/app/src/main/res/layout/view_preference_s.xml deleted file mode 100644 index 37a354c52..000000000 --- a/app/src/main/res/layout/view_preference_s.xml +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file