summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-11-03 15:42:13 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-11-03 15:51:48 +0530
commit5db43de6b2d75e127a413446a7139dd975189750 (patch)
treede9a4b968217745e670fc2cc07fd86d644408c4a /app/src/main
parentc6d45fc056454e649327a0d2531b4cbfe9cce5b2 (diff)
app: fix hard-coded themes and colors in KeySelectionFragment
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/res/layout/fragment_key_selection.xml9
1 files changed, 3 insertions, 6 deletions
diff --git a/app/src/main/res/layout/fragment_key_selection.xml b/app/src/main/res/layout/fragment_key_selection.xml
index adeba0ee..937d8751 100644
--- a/app/src/main/res/layout/fragment_key_selection.xml
+++ b/app/src/main/res/layout/fragment_key_selection.xml
@@ -29,8 +29,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"
@@ -44,8 +43,7 @@
android:layout_marginTop="48dp"
android:layout_marginEnd="@dimen/fab_compat_margin"
android:text="@string/select_gpg_key_title"
- 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"
@@ -59,8 +57,7 @@
android:layout_marginTop="@dimen/onboarding_desc_margin_top"
android:layout_marginEnd="16dp"
android:text="@string/select_gpg_key_message"
- 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/gpg_key"
app:layout_constraintTop_toBottomOf="@id/gpg_key" />