From 5f4026e84e2c314f4031b1d049c4684aedfaed15 Mon Sep 17 00:00:00 2001 From: Grzegorz Orczykowski Date: Thu, 4 May 2023 17:57:05 +0200 Subject: [PATCH] Introduce textAppearanceLabelExtraLarge attribute --- collect_app/src/main/res/layout/main_menu_button.xml | 6 ++---- collect_app/src/main/res/layout/start_new_from_button.xml | 3 +-- collect_app/src/main/res/values/attrs.xml | 4 ++++ collect_app/src/main/res/values/styles.xml | 3 +++ collect_app/src/main/res/values/theme.xml | 1 + 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/collect_app/src/main/res/layout/main_menu_button.xml b/collect_app/src/main/res/layout/main_menu_button.xml index d869054d2b0..74c0e839ad7 100644 --- a/collect_app/src/main/res/layout/main_menu_button.xml +++ b/collect_app/src/main/res/layout/main_menu_button.xml @@ -28,8 +28,7 @@ android:layout_marginHorizontal="@dimen/margin_standard" android:ellipsize="end" android:maxLines="1" - android:textAppearance="?textAppearanceLabelLarge" - android:textSize="18sp" + android:textAppearance="?textAppearanceLabelExtraLarge" app:layout_constraintBottom_toBottomOf="@id/icon" app:layout_constraintEnd_toStartOf="@+id/number" app:layout_constraintStart_toEndOf="@id/icon" @@ -41,8 +40,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="@dimen/margin_extra_large" - android:textAppearance="?textAppearanceLabelLarge" - android:textSize="18sp" + android:textAppearance="?textAppearanceLabelExtraLarge" app:layout_constraintBottom_toBottomOf="@id/name" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="@id/name" diff --git a/collect_app/src/main/res/layout/start_new_from_button.xml b/collect_app/src/main/res/layout/start_new_from_button.xml index e43c0d88f09..6e8325d9a78 100644 --- a/collect_app/src/main/res/layout/start_new_from_button.xml +++ b/collect_app/src/main/res/layout/start_new_from_button.xml @@ -27,8 +27,7 @@ android:layout_height="wrap_content" android:layout_marginStart="@dimen/margin_standard" android:ellipsize="end" - android:textAppearance="?textAppearanceLabelLarge" - android:textSize="18sp" + android:textAppearance="?textAppearanceLabelExtraLarge" android:maxLines="1" android:textColor="?colorOnPrimary" android:text="@string/enter_data" diff --git a/collect_app/src/main/res/values/attrs.xml b/collect_app/src/main/res/values/attrs.xml index 443e4c2fe4f..f26820d757e 100644 --- a/collect_app/src/main/res/values/attrs.xml +++ b/collect_app/src/main/res/values/attrs.xml @@ -18,4 +18,8 @@ + + + + diff --git a/collect_app/src/main/res/values/styles.xml b/collect_app/src/main/res/values/styles.xml index 1acab686094..9313cc69e56 100644 --- a/collect_app/src/main/res/values/styles.xml +++ b/collect_app/src/main/res/values/styles.xml @@ -1,5 +1,8 @@ +