Explorar el Código

Hide text alignment

Wayne hace 5 años
padre
commit
cee2301016

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