Răsfoiți Sursa

Fix wrapped long page numbers in reader (closes #7300)

(cherry picked from commit 6bc484617ee382b1ac8262e75671e535647d3bc4)
arkon 2 ani în urmă
părinte
comite
5bc4a446ec
1 a modificat fișierele cu 4 adăugiri și 2 ștergeri
  1. 4 2
      app/src/main/res/layout/reader_activity.xml

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

@@ -95,9 +95,10 @@
 
                     <TextView
                         android:id="@+id/left_page_text"
-                        android:layout_width="32dp"
+                        android:layout_width="wrap_content"
                         android:layout_height="match_parent"
                         android:gravity="center"
+                        android:minWidth="32dp"
                         android:textColor="?attr/colorOnSurface"
                         android:textSize="15sp"
                         tools:text="1" />
@@ -116,9 +117,10 @@
 
                     <TextView
                         android:id="@+id/right_page_text"
-                        android:layout_width="32dp"
+                        android:layout_width="wrap_content"
                         android:layout_height="match_parent"
                         android:gravity="center"
+                        android:minWidth="32dp"
                         android:textColor="?attr/colorOnSurface"
                         android:textSize="15sp"
                         tools:text="15" />