Browse Source

Handle reader toolbar subtitle getting cut off when text is too big (closes #4843)

arkon 4 years ago
parent
commit
544adb9940
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/src/main/res/layout/reader_activity.xml

+ 2 - 1
app/src/main/res/layout/reader_activity.xml

@@ -60,7 +60,8 @@
         <com.google.android.material.appbar.MaterialToolbar
             android:id="@+id/toolbar"
             android:layout_width="match_parent"
-            android:layout_height="?attr/actionBarSize"
+            android:layout_height="wrap_content"
+            android:minHeight="?attr/actionBarSize"
             android:background="?attr/colorPrimary" />
 
         <LinearLayout