Browse Source

Hide text alignment

Wayne 5 years ago
parent
commit
cee2301016
1 changed files with 4 additions and 2 deletions
  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"
         android:src="@drawable/ic_italic"
         app:layout_constraintTop_toTopOf="parent"
         app:layout_constraintTop_toTopOf="parent"
         app:layout_constraintBottom_toBottomOf="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
     <ImageButton
         android:id="@+id/btn_text_align_left"
         android:id="@+id/btn_text_align_left"
+        android:visibility="gone"
         android:layout_width="48dp"
         android:layout_width="48dp"
         android:layout_height="48dp"
         android:layout_height="48dp"
         android:padding="12dp"
         android:padding="12dp"
@@ -44,6 +44,7 @@
         app:layout_constraintRight_toLeftOf="@+id/btn_text_align_center" />
         app:layout_constraintRight_toLeftOf="@+id/btn_text_align_center" />
     <ImageButton
     <ImageButton
         android:id="@+id/btn_text_align_center"
         android:id="@+id/btn_text_align_center"
+        android:visibility="gone"
         android:layout_width="48dp"
         android:layout_width="48dp"
         android:layout_height="48dp"
         android:layout_height="48dp"
         android:padding="12dp"
         android:padding="12dp"
@@ -55,6 +56,7 @@
         app:layout_constraintRight_toLeftOf="@+id/btn_text_align_right" />
         app:layout_constraintRight_toLeftOf="@+id/btn_text_align_right" />
     <ImageButton
     <ImageButton
         android:id="@+id/btn_text_align_right"
         android:id="@+id/btn_text_align_right"
+        android:visibility="gone"
         android:layout_width="48dp"
         android:layout_width="48dp"
         android:layout_height="48dp"
         android:layout_height="48dp"
         android:padding="12dp"
         android:padding="12dp"