From bd05bf6b0119cde09b83dead9965ca863abfbb4d Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Fri, 25 Feb 2022 18:58:01 +0100 Subject: [PATCH] correctly align buttons in follow requests (#2342) --- app/src/main/res/layout/item_follow_request.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/src/main/res/layout/item_follow_request.xml b/app/src/main/res/layout/item_follow_request.xml index e970e128..5ec30096 100644 --- a/app/src/main/res/layout/item_follow_request.xml +++ b/app/src/main/res/layout/item_follow_request.xml @@ -72,12 +72,13 @@ android:layout_height="32dp" android:layout_centerVertical="true" android:layout_marginStart="12dp" - android:layout_marginTop="14dp" + android:layout_marginEnd="4dp" android:background="?attr/selectableItemBackgroundBorderless" android:contentDescription="@string/action_accept" android:padding="4dp" app:layout_constraintEnd_toStartOf="@id/rejectButton" - app:layout_constraintTop_toBottomOf="@id/notificationTextView" + app:layout_constraintTop_toTopOf="@id/avatar" + app:layout_constraintBottom_toBottomOf="@id/avatar" app:srcCompat="@drawable/ic_check_24dp" />