fix: updated tutorial

This commit is contained in:
Josia Pietsch 2024-07-20 01:06:02 +02:00
parent 765a34dc61
commit 89f62fa835
Signed by: jrpie
GPG key ID: E70B571D66986A2D
10 changed files with 12 additions and 6 deletions

View file

@ -10,8 +10,8 @@ android {
applicationId "de.jrpie.android.launcher"
minSdkVersion 21
targetSdkVersion 35
versionCode 15
versionName "j-alpha-0.3"
versionCode 16
versionName "j-0.0.4"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

View file

@ -14,7 +14,7 @@
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/baseTheme">
android:theme="@style/launcherBaseTheme">
<activity android:name=".HomeActivity"
android:exported="true"

View file

@ -5,8 +5,11 @@ import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import de.jrpie.android.launcher.BuildConfig
import de.jrpie.android.launcher.R
import de.jrpie.android.launcher.UIObject
import kotlinx.android.synthetic.main.tutorial_concept.*
import kotlinx.android.synthetic.main.tutorial_concept.view.*
/**
* The [TutorialFragmentConcept] is a used as a tab in the TutorialActivity.
@ -19,7 +22,9 @@ class TutorialFragmentConcept : Fragment(), UIObject {
inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
return inflater.inflate(R.layout.tutorial_concept, container, false)
val layout = inflater.inflate(R.layout.tutorial_concept, container, false)
layout.tutorial_concept_badge_version.text = BuildConfig.VERSION_NAME
return layout
}
override fun onStart(){

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 455 KiB

After

Width:  |  Height:  |  Size: 159 KiB

View file

@ -46,7 +46,7 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
<ImageView
<TextView
android:id="@+id/tutorial_concept_badge_version"
android:layout_width="0dp"
android:layout_height="wrap_content"
@ -54,7 +54,8 @@
android:layout_marginLeft="32dp"
android:layout_marginEnd="32dp"
android:layout_marginRight="32dp"
android:src="@drawable/badge_version"
android:textSize="32sp"
android:gravity="center"
app:layout_constraintBottom_toTopOf="@+id/tutorial_concept_text_2"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"

BIN
img/Play-1.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

BIN
img/Play-2.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 KiB

BIN
img/Play-3.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

BIN
img/Play-4.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB