From 680223c4b68c28205750da02efe2c3949009dfbe Mon Sep 17 00:00:00 2001 From: Michelle Tang Date: Fri, 14 Jun 2024 10:44:17 -0700 Subject: [PATCH] Update permission buttons for contacts. Co-authored-by: Greyson Parrelli --- ...ct_selection_find_contacts_banner_item.xml | 55 +++++++++++-------- app/src/main/res/values/dimens.xml | 2 + app/src/main/res/values/strings.xml | 2 + 3 files changed, 37 insertions(+), 22 deletions(-) diff --git a/app/src/main/res/layout/contact_selection_find_contacts_banner_item.xml b/app/src/main/res/layout/contact_selection_find_contacts_banner_item.xml index 04e99d3af4..af3825ac33 100644 --- a/app/src/main/res/layout/contact_selection_find_contacts_banner_item.xml +++ b/app/src/main/res/layout/contact_selection_find_contacts_banner_item.xml @@ -4,9 +4,10 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_margin="10dp" + android:layout_margin="16dp" android:background="@drawable/rounded_outline" - android:padding="15dp" + android:paddingVertical="24dp" + android:paddingHorizontal="16dp" tools:viewBindingIgnore="true"> - - - + android:layout_marginTop="4dp" + android:layout_marginHorizontal="10dp" + app:flexWrap="wrap_reverse"> + + + + + + diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index 035278ad9f..7a05f27ee6 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -236,4 +236,6 @@ 40dp 6dp + 140dp + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index c9db194920..9d11dcd7cd 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -2855,6 +2855,8 @@ To find people you know on Signal: Allow access + + No thanks Allow access to your contacts. Your contacts are encrypted and not visible to the Signal service.