summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2020-09-24 13:38:14 +0530
committerGitHub <noreply@github.com>2020-09-24 13:38:14 +0530
commit6203855b1583dc72bb32062aa655cf5190643a24 (patch)
treea5cadcfa902b32f89fe0fc0251eddfa54c276449 /app/src/main/res
parent56f4dedb5b82f0efde73d377704f2b23d094e323 (diff)
Restore settings button to onboarding screen (#1119)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/fragment_welcome.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_welcome.xml b/app/src/main/res/layout/fragment_welcome.xml
index cdf9f0a1..f0dbdf5f 100644
--- a/app/src/main/res/layout/fragment_welcome.xml
+++ b/app/src/main/res/layout/fragment_welcome.xml
@@ -5,6 +5,19 @@
android:background="?attr/colorPrimary"
android:orientation="vertical">
+ <com.google.android.material.button.MaterialButton
+ android:id="@+id/settings_button"
+ style="@style/Widget.MaterialComponents.Button.TextButton"
+ 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:textColor="?attr/colorOnPrimary"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/app_icon"
android:layout_width="100dp"