bigger hitbox for items in compose toolbar

This commit is contained in:
sk 2023-01-23 10:54:39 -03:00 committed by LucasGGamerM
parent 65232b3b1e
commit 49cff20785
1 changed files with 62 additions and 62 deletions

View File

@ -262,8 +262,8 @@
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="12dp" android:layout_marginEnd="6dp"
android:layoutDirection="locale"> android:layoutDirection="locale">
<LinearLayout <LinearLayout
android:id="@+id/schedule_draft_view" android:id="@+id/schedule_draft_view"
@ -322,23 +322,23 @@
<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="12dp" 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"
android:contentDescription="@string/add_media" android:contentDescription="@string/add_media"
android:tooltipText="@string/add_media" android:tooltipText="@string/add_media"
android:src="@drawable/ic_fluent_image_add_24_regular"/> android:src="@drawable/ic_fluent_image_24_regular"/>
<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="12dp" 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"
@ -348,10 +348,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="12dp" 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"
@ -361,10 +361,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="12dp" 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"
@ -374,10 +374,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="12dp" 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"