Adjusts padding of the composer buttons.

This commit is contained in:
Vavassor 2017-07-27 01:13:33 -04:00
parent f3b5087c52
commit 2cfb92013e

View file

@ -96,57 +96,79 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical" android:gravity="center_vertical"
android:paddingBottom="8dp" android:paddingBottom="8dp"
android:paddingLeft="16dp" android:paddingStart="8dp"
android:paddingLeft="8dp"
android:paddingEnd="16dp"
android:paddingRight="16dp" android:paddingRight="16dp"
android:paddingTop="4dp"> android:paddingTop="4dp">
<ImageButton <ImageButton
android:id="@+id/compose_photo_take" android:id="@+id/compose_photo_take"
style="?attr/image_button_style" style="?attr/image_button_style"
android:layout_width="32dp" android:layout_width="40dp"
android:layout_height="32dp" android:layout_height="40dp"
android:layout_marginEnd="8dp" android:paddingStart="4dp"
android:layout_marginRight="8dp" android:paddingLeft="4dp"
android:paddingTop="4dp"
android:paddingEnd="4dp"
android:paddingRight="4dp"
android:paddingBottom="4dp"
app:srcCompat="@drawable/ic_camera_24dp" app:srcCompat="@drawable/ic_camera_24dp"
android:contentDescription="@string/action_photo_take" /> android:contentDescription="@string/action_photo_take" />
<ImageButton <ImageButton
android:id="@+id/compose_photo_pick" android:id="@+id/compose_photo_pick"
style="?attr/image_button_style" style="?attr/image_button_style"
android:layout_width="32dp" android:layout_width="40dp"
android:layout_height="32dp" android:layout_height="40dp"
android:layout_marginEnd="8dp" android:paddingStart="4dp"
android:layout_marginRight="8dp" android:paddingLeft="4dp"
android:paddingTop="4dp"
android:paddingEnd="4dp"
android:paddingRight="4dp"
android:paddingBottom="4dp"
app:srcCompat="@drawable/ic_attach_file_24dp" app:srcCompat="@drawable/ic_attach_file_24dp"
android:contentDescription="@string/action_photo_pick" /> android:contentDescription="@string/action_photo_pick" />
<ImageButton <ImageButton
android:id="@+id/action_toggle_visibility" android:id="@+id/action_toggle_visibility"
style="?attr/image_button_style" style="?attr/image_button_style"
android:layout_width="32dp" android:layout_width="40dp"
android:layout_height="32dp" android:layout_height="40dp"
android:layout_marginEnd="8dp" android:paddingStart="4dp"
android:layout_marginRight="8dp" android:paddingLeft="4dp"
android:paddingTop="4dp"
android:paddingEnd="4dp"
android:paddingRight="4dp"
android:paddingBottom="4dp"
app:srcCompat="@drawable/ic_public_24dp" app:srcCompat="@drawable/ic_public_24dp"
android:contentDescription="@string/action_compose_options" /> android:contentDescription="@string/action_compose_options" />
<ImageButton <ImageButton
android:id="@+id/compose_save_draft" android:id="@+id/compose_save_draft"
style="?attr/image_button_style" style="?attr/image_button_style"
android:layout_width="32dp" android:layout_width="40dp"
android:layout_height="32dp" android:layout_height="40dp"
android:layout_marginEnd="8dp" android:paddingStart="4dp"
android:layout_marginRight="8dp" android:paddingLeft="4dp"
android:paddingTop="4dp"
android:paddingEnd="4dp"
android:paddingRight="4dp"
android:paddingBottom="4dp"
app:srcCompat="@drawable/ic_save_24dp" app:srcCompat="@drawable/ic_save_24dp"
android:contentDescription="@string/action_save" /> android:contentDescription="@string/action_save" />
<ImageButton <ImageButton
android:id="@+id/action_hide_media" android:id="@+id/action_hide_media"
style="?attr/image_button_style" style="?attr/image_button_style"
android:layout_width="32dp" android:layout_width="40dp"
android:layout_height="32dp" android:layout_height="40dp"
android:paddingLeft="8dp" android:paddingStart="4dp"
android:paddingRight="8dp" android:paddingLeft="4dp"
android:paddingTop="4dp"
android:paddingEnd="4dp"
android:paddingRight="4dp"
android:paddingBottom="4dp"
app:srcCompat="@drawable/ic_hide_media_24dp" app:srcCompat="@drawable/ic_hide_media_24dp"
android:contentDescription="@string/action_hide_media" android:contentDescription="@string/action_hide_media"
android:visibility="gone" /> android:visibility="gone" />