Forráskód Böngészése

Remove padding of color chooser

cooperku_kdanmobile 5 éve
szülő
commit
1b82356c0a

+ 0 - 1
reader/src/main/res/layout/activity_view_signature_create.xml

@@ -83,7 +83,6 @@
         android:layout_marginRight="16dp"
         android:layout_marginEnd="16dp"
         android:gravity="center"
-        android:paddingTop="12dp"
         android:layout_marginBottom="8dp"
         app:layout_constraintBottom_toBottomOf="parent"
         app:layout_constraintLeft_toLeftOf="parent"

+ 3 - 2
reader/src/main/res/layout/view_media_box_item_shape_border.xml

@@ -7,9 +7,9 @@
     <com.kdanmobile.reader.screen.view.ColorSelectView
         android:id="@+id/colorChooser_shapeBorder"
         android:layout_width="0dp"
-        android:layout_height="50dp"
+        android:layout_height="48dp"
         android:gravity="center"
-        android:paddingTop="12dp"
+        android:layout_marginTop="8dp"
         app:layout_constraintLeft_toLeftOf="parent"
         app:layout_constraintRight_toRightOf="parent"
         app:layout_constraintTop_toTopOf="parent"
@@ -34,6 +34,7 @@
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
         android:id="@+id/seekBar_shapeBorder_thickness"
+        android:layout_marginBottom="8dp"
         app:title="@string/mediaBox_shape_titleSeekBarThickness"
         app:unit="@string/mediaBox_shape_unitSeekBarThickness"
         app:maxValue="24"

+ 3 - 2
reader/src/main/res/layout/view_media_box_item_shape_fill.xml

@@ -7,9 +7,9 @@
     <com.kdanmobile.reader.screen.view.ColorSelectView
         android:id="@+id/colorChooser_shapeFill"
         android:layout_width="0dp"
-        android:layout_height="50dp"
+        android:layout_height="48dp"
         android:gravity="center"
-        android:paddingTop="12dp"
+        android:layout_marginTop="8dp"
         app:layout_constraintLeft_toLeftOf="parent"
         app:layout_constraintRight_toRightOf="parent"
         app:layout_constraintTop_toTopOf="parent"
@@ -21,6 +21,7 @@
         android:id="@+id/seekBar_shapeFill_opacity"
         android:layout_marginTop="8dp"
         app:title="@string/mediaBox_shape_titleSeekBarOpacity"
+        android:layout_marginBottom="8dp"
         app:unit="@string/mediaBox_shape_unitSeekBarOpacity"
         app:maxValue="255"
         app:minValue="0"