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 }