Преглед изворни кода

Change width of tab in MediaBox to match parent

cooperku_kdanmobile пре 5 година
родитељ
комит
dd698e88d0

+ 3 - 0
reader/src/main/res/layout/view_media_box_tab_shape.xml

@@ -84,6 +84,9 @@
         app:tabIndicatorColor="#0077fd"
         app:tabSelectedTextColor="#0077fd"
         app:tabTextColor="#99000000"
+        app:tabMaxWidth="0dp"
+        app:tabGravity="fill"
+        app:tabMode="fixed"
         app:layout_constraintLeft_toLeftOf="parent"
         app:layout_constraintRight_toRightOf="parent"
         app:layout_constraintTop_toBottomOf="@+id/layout_shapeSelect"

+ 3 - 0
reader/src/main/res/layout/view_media_box_tab_stamp.xml

@@ -26,6 +26,9 @@
         app:tabIndicatorColor="#0077fd"
         app:tabSelectedTextColor="#0077fd"
         app:tabTextColor="#99000000"
+        app:tabMaxWidth="0dp"
+        app:tabGravity="fill"
+        app:tabMode="fixed"
         app:layout_constraintLeft_toLeftOf="parent"
         app:layout_constraintRight_toRightOf="parent"
         app:layout_constraintTop_toBottomOf="@+id/titleButton_stamp"