优化
This commit is contained in:
@@ -17,7 +17,7 @@ object ReadTipConfig {
|
|||||||
const val bookName = 7
|
const val bookName = 7
|
||||||
const val timeBattery = 8
|
const val timeBattery = 8
|
||||||
const val timeBatteryPercentage = 9
|
const val timeBatteryPercentage = 9
|
||||||
const val totalProgress1 = 10
|
const val totalProgress1 = 11
|
||||||
|
|
||||||
val tipValues = arrayOf(
|
val tipValues = arrayOf(
|
||||||
none, bookName, chapterTitle, time, battery, batteryPercentage, page,
|
none, bookName, chapterTitle, time, battery, batteryPercentage, page,
|
||||||
|
|||||||
@@ -36,11 +36,11 @@ class PageView(context: Context) : FrameLayout(context) {
|
|||||||
private var tvBatteryP: BatteryView? = null
|
private var tvBatteryP: BatteryView? = null
|
||||||
private var tvPage: BatteryView? = null
|
private var tvPage: BatteryView? = null
|
||||||
private var tvTotalProgress: BatteryView? = null
|
private var tvTotalProgress: BatteryView? = null
|
||||||
|
private var tvTotalProgress1: BatteryView? = null
|
||||||
private var tvPageAndTotal: BatteryView? = null
|
private var tvPageAndTotal: BatteryView? = null
|
||||||
private var tvBookName: BatteryView? = null
|
private var tvBookName: BatteryView? = null
|
||||||
private var tvTimeBattery: BatteryView? = null
|
private var tvTimeBattery: BatteryView? = null
|
||||||
private var tvTimeBatteryP: BatteryView? = null
|
private var tvTimeBatteryP: BatteryView? = null
|
||||||
private var tvTotalProgress1: BatteryView? = null
|
|
||||||
|
|
||||||
val headerHeight: Int
|
val headerHeight: Int
|
||||||
get() {
|
get() {
|
||||||
|
|||||||
Reference in New Issue
Block a user