|
|
@ -1,5 +1,6 @@ |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
android:id="@+id/page_panel" |
|
|
|
android:id="@+id/page_panel" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
@ -11,31 +12,35 @@ |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" /> |
|
|
|
android:layout_height="wrap_content" /> |
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout |
|
|
|
android:id="@+id/ll_header" |
|
|
|
android:id="@+id/ll_header" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:gravity="center_vertical" |
|
|
|
android:gravity="center_vertical"> |
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.BatteryView |
|
|
|
<io.legado.app.ui.widget.BatteryView |
|
|
|
android:id="@+id/tv_header_left" |
|
|
|
android:id="@+id/tv_header_left" |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_weight="1" |
|
|
|
|
|
|
|
android:maxLines="1" |
|
|
|
android:maxLines="1" |
|
|
|
android:ellipsize="end" |
|
|
|
android:ellipsize="end" |
|
|
|
android:textSize="12sp" /> |
|
|
|
android:textSize="12sp" |
|
|
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.BatteryView |
|
|
|
<io.legado.app.ui.widget.BatteryView |
|
|
|
android:id="@+id/tv_header_middle" |
|
|
|
android:id="@+id/tv_header_middle" |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_weight="1" |
|
|
|
|
|
|
|
android:maxLines="1" |
|
|
|
android:maxLines="1" |
|
|
|
android:ellipsize="end" |
|
|
|
android:ellipsize="end" |
|
|
|
android:textSize="12sp" |
|
|
|
android:textSize="12sp" |
|
|
|
android:visibility="gone" /> |
|
|
|
android:visibility="gone" |
|
|
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintRight_toRightOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.BatteryView |
|
|
|
<io.legado.app.ui.widget.BatteryView |
|
|
|
android:id="@+id/tv_header_right" |
|
|
|
android:id="@+id/tv_header_right" |
|
|
@ -45,9 +50,12 @@ |
|
|
|
android:textSize="12sp" |
|
|
|
android:textSize="12sp" |
|
|
|
android:maxLines="1" |
|
|
|
android:maxLines="1" |
|
|
|
android:ellipsize="end" |
|
|
|
android:ellipsize="end" |
|
|
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintRight_toRightOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
tools:ignore="RtlHardcoded,RtlSymmetry" /> |
|
|
|
tools:ignore="RtlHardcoded,RtlSymmetry" /> |
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |
|
|
|
|
|
|
|
|
|
|
|
<View |
|
|
|
<View |
|
|
|
android:id="@+id/vw_top_divider" |
|
|
|
android:id="@+id/vw_top_divider" |
|
|
@ -69,31 +77,35 @@ |
|
|
|
android:background="@color/divider" |
|
|
|
android:background="@color/divider" |
|
|
|
android:visibility="invisible" /> |
|
|
|
android:visibility="invisible" /> |
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout |
|
|
|
android:id="@+id/ll_footer" |
|
|
|
android:id="@+id/ll_footer" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:gravity="center_vertical" |
|
|
|
android:gravity="center_vertical"> |
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.BatteryView |
|
|
|
<io.legado.app.ui.widget.BatteryView |
|
|
|
android:id="@+id/tv_footer_left" |
|
|
|
android:id="@+id/tv_footer_left" |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_weight="1" |
|
|
|
|
|
|
|
android:maxLines="1" |
|
|
|
android:maxLines="1" |
|
|
|
android:ellipsize="end" |
|
|
|
android:ellipsize="end" |
|
|
|
android:textSize="12sp" /> |
|
|
|
android:textSize="12sp" |
|
|
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.BatteryView |
|
|
|
<io.legado.app.ui.widget.BatteryView |
|
|
|
android:id="@+id/tv_footer_middle" |
|
|
|
android:id="@+id/tv_footer_middle" |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_weight="1" |
|
|
|
|
|
|
|
android:textSize="12sp" |
|
|
|
android:textSize="12sp" |
|
|
|
android:maxLines="1" |
|
|
|
android:maxLines="1" |
|
|
|
android:ellipsize="end" |
|
|
|
android:ellipsize="end" |
|
|
|
android:visibility="gone" /> |
|
|
|
android:visibility="gone" |
|
|
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintRight_toRightOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.BatteryView |
|
|
|
<io.legado.app.ui.widget.BatteryView |
|
|
|
android:id="@+id/tv_footer_right" |
|
|
|
android:id="@+id/tv_footer_right" |
|
|
@ -103,8 +115,11 @@ |
|
|
|
android:textSize="12sp" |
|
|
|
android:textSize="12sp" |
|
|
|
android:maxLines="1" |
|
|
|
android:maxLines="1" |
|
|
|
android:ellipsize="end" |
|
|
|
android:ellipsize="end" |
|
|
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintRight_toRightOf="parent" |
|
|
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
tools:ignore="RtlHardcoded,RtlSymmetry,SmallSp" /> |
|
|
|
tools:ignore="RtlHardcoded,RtlSymmetry,SmallSp" /> |
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
</LinearLayout> |