app: fix hard-coded themes and colors in WelcomeFragment

This commit is contained in:
Harsh Shandilya 2021-11-03 15:44:02 +05:30
parent 44e61c0c31
commit a0fb14d207
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

View file

@ -12,13 +12,14 @@
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
android:id="@+id/settings_button" android:id="@+id/settings_button"
style="@style/Widget.MaterialComponents.Button.TextButton" style="?attr/borderlessButtonStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:layout_alignParentEnd="true" android:layout_alignParentEnd="true"
android:layout_marginEnd="@dimen/activity_horizontal_margin" android:layout_marginEnd="@dimen/activity_horizontal_margin"
android:text="@string/action_settings" android:text="@string/action_settings"
android:textAllCaps="true"
android:textColor="?attr/colorOnBackground" android:textColor="?attr/colorOnBackground"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
@ -42,15 +43,13 @@
android:layout_centerHorizontal="true" android:layout_centerHorizontal="true"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
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"
android:transitionName="transition_first_run_app_name" android:transitionName="transition_first_run_app_name"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/app_icon" /> app:layout_constraintTop_toBottomOf="@+id/app_icon" />
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
android:id="@+id/lets_go" android:id="@+id/lets_go"
android:layout_width="wrap_content" android:layout_width="wrap_content"