mirror of
https://github.com/jrpie/Launcher.git
synced 2025-02-23 14:31:30 +01:00
Fill the Usage
tab (3) of the tutorial
Add screenshot and some text. Also: center text everywhere
This commit is contained in:
parent
ddf30ece3e
commit
9fcbbdd9b5
5 changed files with 50 additions and 6 deletions
BIN
app/src/main/res/drawable/home_round_screen.png
Normal file
BIN
app/src/main/res/drawable/home_round_screen.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 455 KiB |
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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>
|
|
@ -14,7 +14,10 @@
|
||||||
<string name="fas_times" translatable="false"></string> <!-- 'close' -->
|
<string name="fas_times" translatable="false"></string> <!-- 'close' -->
|
||||||
<string name="fas_three_dots" translatable="false"></string> <!-- 'ellipsis-v' -->
|
<string name="fas_three_dots" translatable="false"></string> <!-- 'ellipsis-v' -->
|
||||||
|
|
||||||
|
<string name="fas_angle_double_left" translatable="false"></string>
|
||||||
<string name="fas_angle_double_right" translatable="false"></string>
|
<string name="fas_angle_double_right" translatable="false"></string>
|
||||||
|
<string name="fas_angle_double_up" translatable="false"></string>
|
||||||
|
<string name="fas_angle_double_down" translatable="false"></string>
|
||||||
|
|
||||||
<!-- icons that can be used with type="brands" -->
|
<!-- icons that can be used with type="brands" -->
|
||||||
<string name="fab_apple" translatable="false"></string>
|
<string name="fab_apple" translatable="false"></string>
|
||||||
|
|
Loading…
Add table
Reference in a new issue