From c710aff4c447d02d1642116486954a778049931d Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 2 May 2020 23:08:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/legado/app/ui/book/read/page/ContentView.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt b/app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt index 46354eecd..1c602e444 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt @@ -144,6 +144,7 @@ class ContentView(context: Context) : FrameLayout(context) { ConstraintUtil(ll_header).begin() .clear(R.id.tv_header_left, 2) .setWidth(R.id.tv_header_left, ViewGroup.LayoutParams.WRAP_CONTENT) + .setHorizontalWeight(R.id.tv_footer_left, 0f) .commit() tv_header_left } @@ -153,6 +154,7 @@ class ContentView(context: Context) : FrameLayout(context) { ConstraintUtil(ll_header).begin() .clear(R.id.tv_footer_left, 2) .setWidth(R.id.tv_footer_left, ViewGroup.LayoutParams.WRAP_CONTENT) + .setHorizontalWeight(R.id.tv_footer_left, 0f) .commit() tv_footer_left }