From 0b921f3c2625f8bf043e9cc0bdcdf9d8fbde0cb9 Mon Sep 17 00:00:00 2001 From: Eva Tatarka Date: Mon, 5 Dec 2022 05:44:32 -0800 Subject: [PATCH] Increase the size of the accept/reject follow buttons (#2987) Also swapped the order to follow android's convention of having the positive button on the right. --- .../main/res/layout/item_follow_request.xml | 46 +++++++++---------- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/app/src/main/res/layout/item_follow_request.xml b/app/src/main/res/layout/item_follow_request.xml index 8fe743d91..e31ec6cff 100644 --- a/app/src/main/res/layout/item_follow_request.xml +++ b/app/src/main/res/layout/item_follow_request.xml @@ -4,8 +4,7 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingLeft="16dp" - android:paddingRight="16dp" + android:paddingStart="16dp" android:paddingBottom="10dp"> @@ -62,16 +61,32 @@ android:textColor="?android:textColorSecondary" android:textSize="?attr/status_text_medium" app:layout_constraintBottom_toBottomOf="@id/avatar" - app:layout_constraintEnd_toStartOf="@id/acceptButton" + app:layout_constraintEnd_toStartOf="@id/rejectButton" app:layout_constraintStart_toEndOf="@id/avatar" app:layout_constraintTop_toBottomOf="@id/displayNameTextView" tools:text="\@username" /> + + - - - + app:srcCompat="@drawable/ic_check_24dp" />