Fill the Concept tab (2) of the tutorial

Add a version badge, licensing info etc.

Also: Adjust text size of other tabs / slides in the tutorial.
This commit is contained in:
Finn M Glas 2020-06-23 20:18:58 +02:00
parent 9fcbbdd9b5
commit 1d96d2fed9
No known key found for this signature in database
GPG key ID: 902A30146014DFBF
5 changed files with 46 additions and 4 deletions

View file

@ -21,4 +21,44 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tutorial_concept_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:text="Launcher is designed to be minimal, efficient and free of distraction.\n\nIt is free of payments, ads and tracking services."
android:textSize="18sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tutorial_concept_title"
app:layout_constraintVertical_bias="0.19999999" />
<TextView
android:id="@+id/tutorial_concept_text_2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:gravity="center"
android:text="The app is open-source (MIT license) and available on GitHub!\n\nMake sure to check out the repository!"
android:textSize="18sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
<ImageView
android:id="@+id/tutorial_concept_badge_version"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="32dp"
android:layout_marginLeft="32dp"
android:layout_marginEnd="32dp"
android:layout_marginRight="32dp"
android:src="@drawable/badge_version"
app:layout_constraintBottom_toTopOf="@+id/tutorial_concept_text_2"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tutorial_concept_text" />
</androidx.constraintlayout.widget.ConstraintLayout>