瀏覽代碼

Merge branch 'hide-textbox-alignment'

Wayne 5 年之前
父節點
當前提交
e74cab8783
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      reader/src/main/res/layout/view_viewer_edit_item_text_attr.xml

+ 4 - 2
reader/src/main/res/layout/view_viewer_edit_item_text_attr.xml

@@ -29,10 +29,10 @@
         android:src="@drawable/ic_italic"
         app:layout_constraintTop_toTopOf="parent"
         app:layout_constraintBottom_toBottomOf="parent"
-        app:layout_constraintLeft_toRightOf="@+id/btn_text_bold"
-        app:layout_constraintRight_toLeftOf="@+id/btn_text_align_left" />
+        app:layout_constraintLeft_toRightOf="@+id/btn_text_bold" />
     <ImageButton
         android:id="@+id/btn_text_align_left"
+        android:visibility="gone"
         android:layout_width="48dp"
         android:layout_height="48dp"
         android:padding="12dp"
@@ -44,6 +44,7 @@
         app:layout_constraintRight_toLeftOf="@+id/btn_text_align_center" />
     <ImageButton
         android:id="@+id/btn_text_align_center"
+        android:visibility="gone"
         android:layout_width="48dp"
         android:layout_height="48dp"
         android:padding="12dp"
@@ -55,6 +56,7 @@
         app:layout_constraintRight_toLeftOf="@+id/btn_text_align_right" />
     <ImageButton
         android:id="@+id/btn_text_align_right"
+        android:visibility="gone"
         android:layout_width="48dp"
         android:layout_height="48dp"
         android:padding="12dp"