bigger hitbox for items in compose toolbar
This commit is contained in:
parent
65232b3b1e
commit
49cff20785
|
@ -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"
|
||||||
|
@ -320,70 +320,70 @@
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:gravity="center_vertical">
|
android:gravity="center_vertical">
|
||||||
|
|
||||||
<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"
|
||||||
android:contentDescription="@string/add_poll"
|
android:contentDescription="@string/add_poll"
|
||||||
android:tooltipText="@string/add_poll"
|
android:tooltipText="@string/add_poll"
|
||||||
android:src="@drawable/ic_fluent_poll_24_selector"/>
|
android:src="@drawable/ic_fluent_poll_24_selector"/>
|
||||||
|
|
||||||
<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"
|
||||||
android:contentDescription="@string/emoji"
|
android:contentDescription="@string/emoji"
|
||||||
android:tooltipText="@string/emoji"
|
android:tooltipText="@string/emoji"
|
||||||
android:src="@drawable/ic_fluent_emoji_24_selector"/>
|
android:src="@drawable/ic_fluent_emoji_24_selector"/>
|
||||||
|
|
||||||
<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"
|
||||||
android:contentDescription="@string/content_warning"
|
android:contentDescription="@string/content_warning"
|
||||||
android:tooltipText="@string/content_warning"
|
android:tooltipText="@string/content_warning"
|
||||||
android:src="@drawable/ic_fluent_chat_warning_24_selector"/>
|
android:src="@drawable/ic_fluent_chat_warning_24_selector"/>
|
||||||
|
|
||||||
<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"
|
||||||
android:contentDescription="@string/post_visibility"
|
android:contentDescription="@string/post_visibility"
|
||||||
android:tooltipText="@string/post_visibility"
|
android:tooltipText="@string/post_visibility"
|
||||||
android:src="@drawable/ic_fluent_earth_24_regular"/>
|
android:src="@drawable/ic_fluent_earth_24_regular"/>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/drafts_btn"
|
android:id="@+id/drafts_btn"
|
||||||
|
|
Loading…
Reference in New Issue