From c6d45fc056454e649327a0d2531b4cbfe9cce5b2 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Wed, 3 Nov 2021 15:41:15 +0530 Subject: app: fix hard-coded themes and colors in CloneFragment --- app/src/main/res/layout/fragment_clone.xml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/layout/fragment_clone.xml b/app/src/main/res/layout/fragment_clone.xml index 95461558..cb2cc04e 100644 --- a/app/src/main/res/layout/fragment_clone.xml +++ b/app/src/main/res/layout/fragment_clone.xml @@ -32,8 +32,7 @@ android:layout_marginStart="@dimen/fab_compat_margin" android:layout_marginEnd="@dimen/fab_compat_margin" android:text="@string/app_name" - android:textAppearance="@style/TextAppearance.MaterialComponents.Headline5" - android:textColor="@color/color_control_normal" + android:textAppearance="?attr/textAppearanceTitleLarge" android:textStyle="bold" app:layout_constraintBottom_toBottomOf="@id/app_icon" app:layout_constraintEnd_toEndOf="parent" @@ -47,8 +46,7 @@ android:layout_marginTop="48dp" android:layout_marginEnd="@dimen/fab_compat_margin" android:text="@string/select_n_repository_type" - android:textAppearance="@style/TextAppearance.MaterialComponents.Headline4" - android:textColor="@color/color_control_normal" + android:textAppearance="?attr/textAppearanceHeadlineSmall" android:textStyle="bold" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0" @@ -62,8 +60,7 @@ android:layout_marginTop="@dimen/onboarding_desc_margin_top" android:layout_marginEnd="@dimen/fab_compat_margin" android:text="@string/select_repo_type_text" - android:textAppearance="@style/TextAppearance.MaterialComponents.Subtitle2" - android:textColor="@color/color_control_normal" + android:textAppearance="?attr/textAppearanceTitleSmall" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="@id/repo_type" app:layout_constraintTop_toBottomOf="@id/repo_type" /> -- cgit v1.2.3