From cff8b28a515eb93c1e96a7e81f867a0ae0d0a01f Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 24 Aug 2019 12:50:33 +0800 Subject: [PATCH] up --- .../io/legado/app/ui/widget/page/PageView.kt | 2 +- app/src/main/res/values/arrays.xml | 92 +++++++++++++++++++ 2 files changed, 93 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/values/arrays.xml diff --git a/app/src/main/java/io/legado/app/ui/widget/page/PageView.kt b/app/src/main/java/io/legado/app/ui/widget/page/PageView.kt index 6dc20664b..2850b32e3 100644 --- a/app/src/main/java/io/legado/app/ui/widget/page/PageView.kt +++ b/app/src/main/java/io/legado/app/ui/widget/page/PageView.kt @@ -149,7 +149,7 @@ class PageView(context: Context, attrs: AttributeSet) : FrameLayout(context, att } } - fun setPageFactory(factory: TextPageFactory) { + private fun setPageFactory(factory: TextPageFactory) { this.pageFactory = factory //可做成异步回调 diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml new file mode 100644 index 000000000..01d25293d --- /dev/null +++ b/app/src/main/res/values/arrays.xml @@ -0,0 +1,92 @@ + + + + @string/indent_0 + @string/indent_1 + @string/indent_2 + @string/indent_3 + @string/indent_4 + + + + @string/all_book + @string/pursue_more_book + @string/fattening_book + @string/finish_book + @string/local_book + + + + .txt + .json + .xml + + + + @string/jf_convert_o + @string/jf_convert_j + @string/jf_convert_f + + + + 自动 + 黑色 + 白色 + 跟随背景 + + + + 默认 + 1分钟 + 2分钟 + 3分钟 + 常亮 + + + + 0 + 60 + 120 + 180 + -1 + + + + @string/screen_unspecified + @string/screen_portrait + @string/screen_landscape + @string/screen_sensor + + + + @string/bookshelf_px_0 + @string/bookshelf_px_1 + @string/bookshelf_px_2 + + + + 0 + 1 + 2 + + + + + + + + + + + + + icon1 + icon2 + + + + @string/icon_main + @string/icon_book + + + \ No newline at end of file