Merge pull request #516 from sk22/improve-compose-toolbar-hitbox
Bigger hitbox for items in compose toolbar
This commit is contained in:
commit
58ab0c0fc1
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue