bigger hitbox for items in compose toolbar

This commit is contained in:
sk 2023-01-23 14:54:39 +01:00
parent c67b2b35f3
commit 32a8d38edf
1 changed files with 22 additions and 22 deletions

View File

@ -165,16 +165,16 @@
android:background="?colorBackgroundLightest" android:background="?colorBackgroundLightest"
android:elevation="2dp" android:elevation="2dp"
android:outlineProvider="bounds" android:outlineProvider="bounds"
android:paddingLeft="16dp" android:paddingHorizontal="10dp"
android:paddingRight="16dp" android:layout_marginEnd="6dp"
android:layoutDirection="locale"> android:layoutDirection="locale">
<ImageButton <ImageButton
android:id="@+id/btn_media" android:id="@+id/btn_media"
android:layout_width="24dp" android:layout_width="36dp"
android:layout_height="24dp" android:layout_height="36dp"
android:layout_marginEnd="24dp" android:layout_marginEnd="12dp"
android:background="?android:attr/selectableItemBackgroundBorderless" android:background="?android:attr/actionBarItemBackground"
android:padding="0px" android:padding="0px"
android:tint="@color/compose_button" android:tint="@color/compose_button"
android:tintMode="src_in" android:tintMode="src_in"
@ -184,10 +184,10 @@
<ImageButton <ImageButton
android:id="@+id/btn_poll" android:id="@+id/btn_poll"
android:layout_width="24dp" android:layout_width="36dp"
android:layout_height="24dp" android:layout_height="36dp"
android:layout_marginEnd="24dp" android:layout_marginEnd="12dp"
android:background="?android:attr/selectableItemBackgroundBorderless" android:background="?android:attr/actionBarItemBackground"
android:padding="0px" android:padding="0px"
android:tint="@color/compose_button" android:tint="@color/compose_button"
android:tintMode="src_in" android:tintMode="src_in"
@ -197,10 +197,10 @@
<ImageButton <ImageButton
android:id="@+id/btn_emoji" android:id="@+id/btn_emoji"
android:layout_width="24dp" android:layout_width="36dp"
android:layout_height="24dp" android:layout_height="36dp"
android:layout_marginEnd="24dp" android:layout_marginEnd="12dp"
android:background="?android:attr/selectableItemBackgroundBorderless" android:background="?android:attr/actionBarItemBackground"
android:padding="0px" android:padding="0px"
android:tint="@color/compose_button" android:tint="@color/compose_button"
android:tintMode="src_in" android:tintMode="src_in"
@ -210,10 +210,10 @@
<ImageButton <ImageButton
android:id="@+id/btn_spoiler" android:id="@+id/btn_spoiler"
android:layout_width="24dp" android:layout_width="36dp"
android:layout_height="24dp" android:layout_height="36dp"
android:layout_marginEnd="24dp" android:layout_marginEnd="12dp"
android:background="?android:attr/selectableItemBackgroundBorderless" android:background="?android:attr/actionBarItemBackground"
android:padding="0px" android:padding="0px"
android:tint="@color/compose_button" android:tint="@color/compose_button"
android:tintMode="src_in" android:tintMode="src_in"
@ -223,10 +223,10 @@
<ImageButton <ImageButton
android:id="@+id/btn_visibility" android:id="@+id/btn_visibility"
android:layout_width="24dp" android:layout_width="36dp"
android:layout_height="24dp" android:layout_height="36dp"
android:layout_marginEnd="24dp" android:layout_marginEnd="12dp"
android:background="?android:attr/selectableItemBackgroundBorderless" android:background="?android:attr/actionBarItemBackground"
android:padding="0px" android:padding="0px"
android:tint="@color/compose_button" android:tint="@color/compose_button"
android:tintMode="src_in" android:tintMode="src_in"