app: fix hard-coded themes and colors in KeySelectionFragment

This commit is contained in:
Harsh Shandilya 2021-11-03 15:42:13 +05:30
parent c6d45fc056
commit 5db43de6b2
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

View file

@ -29,8 +29,7 @@
android:layout_marginStart="@dimen/fab_compat_margin" android:layout_marginStart="@dimen/fab_compat_margin"
android:layout_marginEnd="@dimen/fab_compat_margin" android:layout_marginEnd="@dimen/fab_compat_margin"
android:text="@string/app_name" android:text="@string/app_name"
android:textAppearance="@style/TextAppearance.MaterialComponents.Headline5" android:textAppearance="?attr/textAppearanceTitleLarge"
android:textColor="@color/color_control_normal"
android:textStyle="bold" android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="@id/app_icon" app:layout_constraintBottom_toBottomOf="@id/app_icon"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
@ -44,8 +43,7 @@
android:layout_marginTop="48dp" android:layout_marginTop="48dp"
android:layout_marginEnd="@dimen/fab_compat_margin" android:layout_marginEnd="@dimen/fab_compat_margin"
android:text="@string/select_gpg_key_title" android:text="@string/select_gpg_key_title"
android:textAppearance="@style/TextAppearance.MaterialComponents.Headline4" android:textAppearance="?attr/textAppearanceHeadlineSmall"
android:textColor="@color/color_control_normal"
android:textStyle="bold" android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0" app:layout_constraintHorizontal_bias="0"
@ -59,8 +57,7 @@
android:layout_marginTop="@dimen/onboarding_desc_margin_top" android:layout_marginTop="@dimen/onboarding_desc_margin_top"
android:layout_marginEnd="16dp" android:layout_marginEnd="16dp"
android:text="@string/select_gpg_key_message" android:text="@string/select_gpg_key_message"
android:textAppearance="@style/TextAppearance.MaterialComponents.Subtitle2" android:textAppearance="?attr/textAppearanceTitleSmall"
android:textColor="@color/color_control_normal"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@id/gpg_key" app:layout_constraintStart_toStartOf="@id/gpg_key"
app:layout_constraintTop_toBottomOf="@id/gpg_key" /> app:layout_constraintTop_toBottomOf="@id/gpg_key" />