From 641911e95ded902f11d0a5b6b3bec5cbe7648d73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Garc=C3=ADa=20Lid=C3=B3n?= Date: Tue, 26 Sep 2023 14:06:16 +0200 Subject: [PATCH] Android-13783 Improve Callout buttons margin (#304) * ANDROID-13783 Update. Improve margins for Callout component * ANDROID-13783 Update. Make private the implementation of ListRowItem * ANDROID-13783 Update. Align XML Catalog option names with the Compose Catalog ones. * ANDROID-13783 Update. Retro-compatibility for Button padding --- .../components/CalloutsCatalogFragment.kt | 16 ++--- .../mistica/compose/button/Button.kt | 5 +- .../mistica/compose/button/ButtonSizes.kt | 8 +-- .../mistica/compose/callout/Callout.kt | 59 ++++++++++++------- .../mistica/compose/list/ListRowItem.kt | 2 +- 5 files changed, 55 insertions(+), 35 deletions(-) diff --git a/catalog/src/main/java/com/telefonica/mistica/catalog/ui/classic/components/CalloutsCatalogFragment.kt b/catalog/src/main/java/com/telefonica/mistica/catalog/ui/classic/components/CalloutsCatalogFragment.kt index 9f49c5395..a02ee88e9 100644 --- a/catalog/src/main/java/com/telefonica/mistica/catalog/ui/classic/components/CalloutsCatalogFragment.kt +++ b/catalog/src/main/java/com/telefonica/mistica/catalog/ui/classic/components/CalloutsCatalogFragment.kt @@ -38,7 +38,7 @@ class CalloutsCatalogFragment : Fragment() { CalloutButtonsConfig.values().map { it.name }, ) ) - setText(CalloutButtonsConfig.BUTTONS_CONFIG_PRIMARY.name) + setText(CalloutButtonsConfig.PRIMARY.name) } view.findViewById