From 570b14358226d0f237c574346c8f6b02605dc56b Mon Sep 17 00:00:00 2001 From: Alex Hart Date: Fri, 22 Jul 2022 16:55:15 -0300 Subject: [PATCH] Update base stories recipient selection fragment with material 3 spec. --- .../BaseStoryRecipientSelectionFragment.kt | 2 +- .../layout/contact_selection_list_fragment.xml | 17 ++++++----------- ...tories_base_recipient_selection_fragment.xml | 7 ++++--- 3 files changed, 11 insertions(+), 15 deletions(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/stories/settings/select/BaseStoryRecipientSelectionFragment.kt b/app/src/main/java/org/thoughtcrime/securesms/stories/settings/select/BaseStoryRecipientSelectionFragment.kt index eb121c894..af56b1d68 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/stories/settings/select/BaseStoryRecipientSelectionFragment.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/stories/settings/select/BaseStoryRecipientSelectionFragment.kt @@ -147,7 +147,7 @@ abstract class BaseStoryRecipientSelectionFragment : Fragment(R.layout.stories_b canSelectSelf = false, currentSelection = emptyList(), displaySelectionCount = false, - displayChips = true, + displayChips = false, checkboxResource = checkboxResource ) diff --git a/app/src/main/res/layout/contact_selection_list_fragment.xml b/app/src/main/res/layout/contact_selection_list_fragment.xml index 541cff567..e2c827194 100644 --- a/app/src/main/res/layout/contact_selection_list_fragment.xml +++ b/app/src/main/res/layout/contact_selection_list_fragment.xml @@ -129,25 +129,20 @@ tools:listitem="@layout/contact_selection_list_chip" tools:visibility="visible" /> - @@ -17,9 +18,9 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginStart="16dp" - android:layout_marginTop="4dp" + android:layout_marginTop="10dp" android:layout_marginEnd="16dp" - android:layout_marginBottom="12dp" + android:layout_marginBottom="10dp" android:background="@drawable/rounded_rectangle_secondary_18" android:hint="@string/TextStoryPostSendFragment__search" android:minHeight="44dp"