From d1656a525e29dab89f9d8b20d533333d7cbf2a42 Mon Sep 17 00:00:00 2001 From: LucasGGamerM Date: Sat, 16 Mar 2024 17:59:17 -0300 Subject: [PATCH] fix: make action button text on account card look decent again --- mastodon/src/main/res/layout/item_discover_account.xml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/mastodon/src/main/res/layout/item_discover_account.xml b/mastodon/src/main/res/layout/item_discover_account.xml index 371491fb6f..8b67539761 100644 --- a/mastodon/src/main/res/layout/item_discover_account.xml +++ b/mastodon/src/main/res/layout/item_discover_account.xml @@ -329,10 +329,12 @@ android:id="@+id/action_btn" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:minHeight="48dp" - android:minWidth="56dp" - android:singleLine="true" - tools:text="@string/follow_back"/> + android:layout_gravity="center_vertical" + android:paddingHorizontal="10dp" + android:minWidth="96dp" + android:maxWidth="150dp" + style="@style/Widget.Mastodon.M3.Button.Filled" + tools:text="Follow back"/>