feat: 优化代码

pull/105/head
kunfei 5 years ago
parent 81cd7d65c3
commit 819c9d139e
  1. 18
      app/src/main/res/layout/view_book_page.xml

@ -1,11 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/page_panel"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
app:showDividers="middle">
android:orientation="vertical">
<LinearLayout
android:id="@+id/top_bar"
@ -27,12 +25,26 @@
</LinearLayout>
<View
android:id="@+id/vw_top_divider"
android:layout_width="match_parent"
android:layout_height="0.5dp"
android:background="@color/divider"
android:visibility="invisible" />
<io.legado.app.ui.book.read.page.ContentTextView
android:id="@+id/content_text_view"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" />
<View
android:id="@+id/vw_bottom_divider"
android:layout_width="match_parent"
android:layout_height="0.5dp"
android:background="@color/divider"
android:visibility="invisible" />
<LinearLayout
android:id="@+id/bottom_bar"
android:layout_width="match_parent"

Loading…
Cancel
Save