summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-11-03 15:42:54 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-11-03 15:51:49 +0530
commit44e61c0c31566bd82c89381f62fc42a784d868e0 (patch)
tree04d165eb27443c2da504c573262846b8c191b664 /app
parent5db43de6b2d75e127a413446a7139dd975189750 (diff)
app: fix hard-coded themes and colors in RepoLocationFragment
Diffstat (limited to 'app')
-rw-r--r--app/src/main/res/layout/fragment_repo_location.xml9
1 files changed, 3 insertions, 6 deletions
diff --git a/app/src/main/res/layout/fragment_repo_location.xml b/app/src/main/res/layout/fragment_repo_location.xml
index 9d42a39a..0302eaff 100644
--- a/app/src/main/res/layout/fragment_repo_location.xml
+++ b/app/src/main/res/layout/fragment_repo_location.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/repository_n_location"
- 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_constraintStart_toStartOf="@id/app_icon"
@@ -61,8 +59,7 @@
android:layout_marginTop="@dimen/onboarding_desc_margin_top"
android:layout_marginEnd="16dp"
android:text="@string/location_dialog_create_text"
- android:textAppearance="@style/TextAppearance.MaterialComponents.Subtitle2"
- android:textColor="@color/color_control_normal"
+ android:textAppearance="?attr/textAppearanceHeadlineSmall"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@id/repo_location"
app:layout_constraintTop_toBottomOf="@id/repo_location" />