pull/32/head
kunfei 5 years ago
parent 15f12da6c4
commit cff8b28a51
  1. 2
      app/src/main/java/io/legado/app/ui/widget/page/PageView.kt
  2. 92
      app/src/main/res/values/arrays.xml

@ -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 this.pageFactory = factory
//可做成异步回调 //可做成异步回调

@ -0,0 +1,92 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="indent">
<item>@string/indent_0</item>
<item>@string/indent_1</item>
<item>@string/indent_2</item>
<item>@string/indent_3</item>
<item>@string/indent_4</item>
</string-array>
<string-array name="book_group_array">
<item>@string/all_book</item>
<item>@string/pursue_more_book</item>
<item>@string/fattening_book</item>
<item>@string/finish_book</item>
<item>@string/local_book</item>
</string-array>
<string-array name="text_suffix">
<item>.txt</item>
<item>.json</item>
<item>.xml</item>
</string-array>
<string-array name="convert_s">
<item>@string/jf_convert_o</item>
<item>@string/jf_convert_j</item>
<item>@string/jf_convert_f</item>
</string-array>
<string-array name="NavBarColors">
<item>自动</item>
<item>黑色</item>
<item>白色</item>
<item>跟随背景</item>
</string-array>
<string-array name="screen_time_out">
<item>默认</item>
<item>1分钟</item>
<item>2分钟</item>
<item>3分钟</item>
<item>常亮</item>
</string-array>
<integer-array name="screen_time_out_value">
<item>0</item>
<item>60</item>
<item>120</item>
<item>180</item>
<item>-1</item>
</integer-array>
<string-array name="screen_direction_list_title">
<item>@string/screen_unspecified</item>
<item>@string/screen_portrait</item>
<item>@string/screen_landscape</item>
<item>@string/screen_sensor</item>
</string-array>
<string-array name="bookshelf_px_title">
<item>@string/bookshelf_px_0</item>
<item>@string/bookshelf_px_1</item>
<item>@string/bookshelf_px_2</item>
</string-array>
<string-array name="bookshelf_px_value">
<item>0</item>
<item>1</item>
<item>2</item>
</string-array>
<declare-styleable name="Battery">
<attr name="batteryOrientation">
<enum name="horizontal" value="0" />
<enum name="vertical" value="1" />
</attr>
<attr name="batteryColor" format="color" />
<attr name="batteryPower" format="integer" />
</declare-styleable>
<string-array name="icon_names">
<item>icon1</item>
<item>icon2</item>
</string-array>
<string-array name="icons">
<item>@string/icon_main</item>
<item>@string/icon_book</item>
</string-array>
</resources>
Loading…
Cancel
Save