소스 검색

Change width of tab in MediaBox to match parent

cooperku_kdanmobile 5 년 전
부모
커밋
dd698e88d0
2개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      reader/src/main/res/layout/view_media_box_tab_shape.xml
  2. 3 0
      reader/src/main/res/layout/view_media_box_tab_stamp.xml

+ 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"