Bigger touch area for the other buttons

This commit is contained in:
Benoit Marty 2020-12-11 12:46:44 +01:00
parent 32fd3be732
commit 8d30658fa5
2 changed files with 12 additions and 13 deletions

View File

@ -97,9 +97,9 @@
<ImageButton <ImageButton
android:id="@+id/attachmentButton" android:id="@+id/attachmentButton"
android:layout_width="32dp" android:layout_width="52dp"
android:layout_height="32dp" android:layout_height="52dp"
android:layout_margin="12dp" android:layout_margin="1dp"
android:background="?android:attr/selectableItemBackground" android:background="?android:attr/selectableItemBackground"
android:src="@drawable/ic_attachment" android:src="@drawable/ic_attachment"
app:layout_constraintBottom_toBottomOf="@id/sendButton" app:layout_constraintBottom_toBottomOf="@id/sendButton"
@ -121,10 +121,9 @@
<ImageButton <ImageButton
android:id="@+id/composer_emoji" android:id="@+id/composer_emoji"
android:layout_width="32dp" android:layout_width="52dp"
android:layout_height="32dp" android:layout_height="52dp"
android:layout_marginStart="10dp" android:layout_margin="1dp"
android:layout_marginEnd="10dp"
android:background="?android:attr/selectableItemBackground" android:background="?android:attr/selectableItemBackground"
android:src="@drawable/ic_insert_emoji" android:src="@drawable/ic_insert_emoji"
app:layout_constraintBottom_toBottomOf="@id/sendButton" app:layout_constraintBottom_toBottomOf="@id/sendButton"

View File

@ -102,8 +102,9 @@
<ImageButton <ImageButton
android:id="@+id/attachmentButton" android:id="@+id/attachmentButton"
android:layout_width="48dp" android:layout_width="52dp"
android:layout_height="48dp" android:layout_height="52dp"
android:layout_margin="1dp"
android:background="?android:attr/selectableItemBackground" android:background="?android:attr/selectableItemBackground"
android:src="@drawable/ic_attachment" android:src="@drawable/ic_attachment"
app:layout_constraintBottom_toBottomOf="@+id/sendButton" app:layout_constraintBottom_toBottomOf="@+id/sendButton"
@ -124,10 +125,9 @@
<ImageButton <ImageButton
android:id="@+id/composer_emoji" android:id="@+id/composer_emoji"
android:layout_width="32dp" android:layout_width="52dp"
android:layout_height="32dp" android:layout_height="52dp"
android:layout_marginStart="10dp" android:layout_margin="1dp"
android:layout_marginEnd="10dp"
android:background="?android:attr/selectableItemBackground" android:background="?android:attr/selectableItemBackground"
android:src="@drawable/ic_insert_emoji" android:src="@drawable/ic_insert_emoji"
app:layout_constraintBottom_toBottomOf="@id/sendButton" app:layout_constraintBottom_toBottomOf="@id/sendButton"