From db661b56cb834b33793253057a20dc390c49067a Mon Sep 17 00:00:00 2001 From: sk Date: Fri, 13 Oct 2023 22:17:45 +0200 Subject: [PATCH] fix inconsistent styles, fix non-sp font closes sk22#862 --- .../src/main/res/layout/fragment_profile.xml | 28 +++-- .../main/res/layout/item_discover_account.xml | 110 +++++++++++------- 2 files changed, 81 insertions(+), 57 deletions(-) diff --git a/mastodon/src/main/res/layout/fragment_profile.xml b/mastodon/src/main/res/layout/fragment_profile.xml index 86d37f3ee..67b7884e2 100644 --- a/mastodon/src/main/res/layout/fragment_profile.xml +++ b/mastodon/src/main/res/layout/fragment_profile.xml @@ -291,20 +291,18 @@ android:id="@+id/profile_counters" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginLeft="8dp" - android:layout_marginRight="8dp"> + android:layout_marginHorizontal="4dp"> + android:paddingStart="12dp" + android:paddingEnd="12dp"> + android:paddingStart="12dp" + android:paddingEnd="12dp"> @@ -142,23 +142,66 @@ android:layout_marginEnd="8dp" android:gravity="center_vertical" android:orientation="horizontal"> + + + + + + + + + + + + + android:textAppearance="@style/m3_label_large" + android:fontFamily="sans-serif-black" + android:gravity="center_vertical" + android:singleLine="true" + android:textColor="?colorM3OnSurfaceVariant" + tools:text="123" /> + + android:gravity="center_vertical" + android:singleLine="true" + android:textAppearance="@style/m3_label_large" + android:textColor="?colorM3OnSurfaceVariant" + tools:text="following" /> + - - - -