Revert "use tonal background for see new posts button"
This reverts commit 8009dc0a75.
This commit is contained in:
@@ -50,6 +50,7 @@
|
|||||||
style="@style/Widget.Mastodon.M3.Button.Tonal.Icon"
|
style="@style/Widget.Mastodon.M3.Button.Tonal.Icon"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
|
android:background="@drawable/bg_button_m3_tonal_selector"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:textAppearance="@style/m3_title_medium"
|
android:textAppearance="@style/m3_title_medium"
|
||||||
@@ -57,5 +58,10 @@
|
|||||||
android:text="@string/see_new_posts"
|
android:text="@string/see_new_posts"
|
||||||
android:drawableStart="@drawable/ic_fluent_arrow_up_16_filled"
|
android:drawableStart="@drawable/ic_fluent_arrow_up_16_filled"
|
||||||
android:layout_gravity="center" />
|
android:layout_gravity="center" />
|
||||||
|
<!--
|
||||||
|
using the selector background because..
|
||||||
|
the selected=false state's border looks better than the one from the outline style
|
||||||
|
(as per m3 spec) :( i should probably fix this at some point
|
||||||
|
-->
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
|||||||
Reference in New Issue
Block a user