aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-11-03 15:44:02 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-11-03 15:51:49 +0530
commita0fb14d207f494815e791af8a5112e9f0cf63388 (patch)
tree87d903a8a9cd57940cd464393d8d53eccb3d5b33 /app/src/main
parent44e61c0c31566bd82c89381f62fc42a784d868e0 (diff)
app: fix hard-coded themes and colors in WelcomeFragment
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/res/layout/fragment_welcome.xml7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/src/main/res/layout/fragment_welcome.xml b/app/src/main/res/layout/fragment_welcome.xml
index fa94124d..18e90082 100644
--- a/app/src/main/res/layout/fragment_welcome.xml
+++ b/app/src/main/res/layout/fragment_welcome.xml
@@ -12,13 +12,14 @@
<com.google.android.material.button.MaterialButton
android:id="@+id/settings_button"
- style="@style/Widget.MaterialComponents.Button.TextButton"
+ style="?attr/borderlessButtonStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
android:layout_marginEnd="@dimen/activity_horizontal_margin"
android:text="@string/action_settings"
+ android:textAllCaps="true"
android:textColor="?attr/colorOnBackground"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
@@ -42,15 +43,13 @@
android:layout_centerHorizontal="true"
android:layout_marginTop="16dp"
android:text="@string/app_name"
- android:textAppearance="@style/TextAppearance.MaterialComponents.Headline5"
- android:textColor="@color/color_control_normal"
+ android:textAppearance="?attr/textAppearanceTitleLarge"
android:textStyle="bold"
android:transitionName="transition_first_run_app_name"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/app_icon" />
-
<com.google.android.material.button.MaterialButton
android:id="@+id/lets_go"
android:layout_width="wrap_content"