Fill the Usage tab (3) of the tutorial

Add screenshot and some text.

Also: center text everywhere
This commit is contained in:
Finn M Glas 2020-06-23 19:31:45 +02:00
parent ddf30ece3e
commit 9fcbbdd9b5
No known key found for this signature in database
GPG key ID: 902A30146014DFBF
5 changed files with 50 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 455 KiB

View file

@ -27,6 +27,7 @@
android:id="@+id/tutorial_finish_text" android:id="@+id/tutorial_finish_text"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center"
android:text="You are ready to get started!\n\n I hope this provides great value to you!\n\n- Finn M Glas (alias 'the developer')" android:text="You are ready to get started!\n\n I hope this provides great value to you!\n\n- Finn M Glas (alias 'the developer')"
android:textSize="15sp" android:textSize="15sp"
app:layout_constraintBottom_toTopOf="@id/tutorial_finish_button_start" app:layout_constraintBottom_toTopOf="@id/tutorial_finish_button_start"

View file

@ -27,6 +27,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:gravity="center"
android:text="We chose some default apps for you, if you want to, you can change them now." android:text="We chose some default apps for you, if you want to, you can change them now."
android:textSize="14sp" android:textSize="14sp"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
@ -50,6 +51,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="16dp" android:layout_marginBottom="16dp"
android:gravity="center"
android:text="You can also change your selection later." android:text="You can also change your selection later."
android:textSize="14sp" android:textSize="14sp"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"

View file

@ -1,18 +1,17 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/tutorial_usage_container" android:id="@+id/tutorial_usage_container"
android:paddingLeft="32sp"
android:paddingRight="32sp"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?attr/colorPrimary" android:background="?attr/colorPrimary"
android:paddingLeft="32sp"
android:paddingRight="32sp"
tools:context=".tutorial.tab.TutorialFragmentUsage"> tools:context=".tutorial.tab.TutorialFragmentUsage">
<TextView <TextView
android:id="@+id/tutorial_concept_title2" android:id="@+id/tutorial_usage_title"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
@ -21,4 +20,43 @@
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tutorial_usage_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:layout_marginBottom="32dp"
android:gravity="center"
android:text="Your home screen contains the local date and time. No distraction."
app:layout_constraintBottom_toTopOf="@+id/tutorial_usage_screen"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tutorial_usage_title" />
<ImageView
android:id="@+id/tutorial_usage_screen"
android:layout_width="0dp"
android:layout_height="0dp"
android:scaleType="centerInside"
android:src="@drawable/home_round_screen"
app:layout_constraintBottom_toTopOf="@id/tutorial_usage_text_2"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@+id/tutorial_usage_text"
app:layout_constraintTop_toBottomOf="@id/tutorial_usage_text"
app:srcCompat="@drawable/home_round_screen" />
<TextView
android:id="@+id/tutorial_usage_text_2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="32dp"
android:layout_marginBottom="16dp"
android:gravity="center"
android:text="You can launch your apps with a single swipe or button press. Choose some in the next slide."
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tutorial_usage_screen" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -14,7 +14,10 @@
<string name="fas_times" translatable="false">&#xf00d;</string> <!-- 'close' --> <string name="fas_times" translatable="false">&#xf00d;</string> <!-- 'close' -->
<string name="fas_three_dots" translatable="false">&#xf142;</string> <!-- 'ellipsis-v' --> <string name="fas_three_dots" translatable="false">&#xf142;</string> <!-- 'ellipsis-v' -->
<string name="fas_angle_double_left" translatable="false">&#xf100;</string>
<string name="fas_angle_double_right" translatable="false">&#xf101;</string> <string name="fas_angle_double_right" translatable="false">&#xf101;</string>
<string name="fas_angle_double_up" translatable="false">&#xf102;</string>
<string name="fas_angle_double_down" translatable="false">&#xf103;</string>
<!-- icons that can be used with type="brands" --> <!-- icons that can be used with type="brands" -->
<string name="fab_apple" translatable="false">&#xf179;</string> <string name="fab_apple" translatable="false">&#xf179;</string>