Skip to content

Commit

Permalink
Improve splash screen #1481
Browse files Browse the repository at this point in the history
  • Loading branch information
tuomas2 committed Aug 2, 2021
1 parent 6e670fc commit 4d58b9a
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion app/src/main/res/layout/spinner.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,35 @@
android:layout_width="match_parent"
android:layout_height="match_parent">

<LinearLayout
android:id="@+id/linearLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toTopOf="@id/progressBar2"
android:orientation="vertical">

<TextView
android:id="@+id/splash_title_text"
style="@style/SplashTitleFont"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center|top|center_vertical"
android:padding="5dip"
android:text="@string/app_name_medium" />

<ImageView
android:id="@+id/imageView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="4"
app:srcCompat="@mipmap/ic_launcher_foreground"
tools:ignore="ContentDescription" />


</LinearLayout>

<ProgressBar
android:id="@+id/progressBar2"
style="?android:attr/progressBarStyle"
Expand All @@ -14,7 +43,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
app:layout_constraintTop_toBottomOf="@+id/linearLayout" />
<TextView
android:id="@+id/progressText"
android:layout_width="match_parent"
Expand Down

0 comments on commit 4d58b9a

Please sign in to comment.