Skip to content
Snippets Groups Projects
Unverified Commit 017f6022 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

chore: migrate to new splash screen

parent 5b248bc2
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,7 @@ dependencies {
// Only needed for ringtone preference
implementation(libs.androidx.legacy)
implementation(libs.androidx.constraintlayout)
implementation(libs.androidx.splashscreen)
implementation(libs.androidx.room.runtime)
ksp(libs.androidx.room.compiler)
......
......@@ -41,12 +41,11 @@
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/Theme.SplashTheme">
android:theme="@style/Theme.AppTheme.Starting">
<activity
android:name="de.kuschku.quasseldroid.ui.chat.ChatActivity"
android:exported="true"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
......
app/src/main/res/drawable-hdpi/ic_splash.png

10.6 KiB | W: | H:

app/src/main/res/drawable-hdpi/ic_splash.png

24.2 KiB | W: | H:

app/src/main/res/drawable-hdpi/ic_splash.png
app/src/main/res/drawable-hdpi/ic_splash.png
app/src/main/res/drawable-hdpi/ic_splash.png
app/src/main/res/drawable-hdpi/ic_splash.png
  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/drawable-mdpi/ic_splash.png

7.52 KiB | W: | H:

app/src/main/res/drawable-mdpi/ic_splash.png

14.8 KiB | W: | H:

app/src/main/res/drawable-mdpi/ic_splash.png
app/src/main/res/drawable-mdpi/ic_splash.png
app/src/main/res/drawable-mdpi/ic_splash.png
app/src/main/res/drawable-mdpi/ic_splash.png
  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/drawable-xhdpi/ic_splash.png

15.9 KiB | W: | H:

app/src/main/res/drawable-xhdpi/ic_splash.png

34.6 KiB | W: | H:

app/src/main/res/drawable-xhdpi/ic_splash.png
app/src/main/res/drawable-xhdpi/ic_splash.png
app/src/main/res/drawable-xhdpi/ic_splash.png
app/src/main/res/drawable-xhdpi/ic_splash.png
  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/drawable-xxhdpi/ic_splash.png

26 KiB | W: | H:

app/src/main/res/drawable-xxhdpi/ic_splash.png

56.3 KiB | W: | H:

app/src/main/res/drawable-xxhdpi/ic_splash.png
app/src/main/res/drawable-xxhdpi/ic_splash.png
app/src/main/res/drawable-xxhdpi/ic_splash.png
app/src/main/res/drawable-xxhdpi/ic_splash.png
  • 2-up
  • Swipe
  • Onion skin
app/src/main/res/drawable-xxxhdpi/ic_splash.png

35.9 KiB | W: | H:

app/src/main/res/drawable-xxxhdpi/ic_splash.png

80.1 KiB | W: | H:

app/src/main/res/drawable-xxxhdpi/ic_splash.png
app/src/main/res/drawable-xxxhdpi/ic_splash.png
app/src/main/res/drawable-xxxhdpi/ic_splash.png
app/src/main/res/drawable-xxxhdpi/ic_splash.png
  • 2-up
  • Swipe
  • Onion skin
<?xml version="1.0" encoding="utf-8"?><!--
Quasseldroid - Quassel client for Android
Copyright (c) 2020 Janne Mareike Koschinski
Copyright (c) 2020 The Quassel Project
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License version 3 as published
by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@color/colorPrimary" />
<item>
<bitmap
android:gravity="center"
android:src="@drawable/ic_splash" />
</item>
</layer-list>
......@@ -18,6 +18,11 @@
-->
<resources>
<style name="Theme.AppTheme.Starting" parent="Theme.SplashScreen">
<item name="windowSplashScreenBackground">@color/colorPrimary</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_splash</item>
<item name="postSplashScreenTheme">@style/Theme.AppTheme.NoActionBar</item>
</style>
<style name="Theme.AppTheme" parent="Theme.MaterialComponents.Bridge">
<item name="colorPrimary">@color/colorPrimary</item>
......@@ -81,10 +86,6 @@
<item name="colorBackground">#FAFAFA</item>
</style>
<style name="Theme.SplashTheme" parent="Theme.AppTheme.Light.NoActionBar">
<item name="android:windowBackground">@drawable/bg_splash</item>
</style>
<style name="Theme.ChatTheme" parent="Base.ChatTheme">
<item name="actionBarTheme">@style/Widget.AppBarOverlay</item>
<item name="formatBarTheme">@style/Widget.AppBarOverlay</item>
......
......@@ -36,6 +36,7 @@ androidx-room-runtime = { module = "androidx.room:room-runtime", version.ref = "
androidx-room-rxjava = { module = "androidx.room:room-rxjava2", version.ref = "androidx-room" }
androidx-room-testing = { module = "androidx.room:room-testing", version.ref = "androidx-room" }
androidx-room-paging = { module = "androidx.room:room-paging", version = "2.6.1" }
androidx-splashscreen = { module = "androidx.core:core-splashscreen", version = "1.0.1" }
androidx-swiperefreshlayout = { module = "androidx.swiperefreshlayout:swiperefreshlayout", version = "1.1.0" }
androidx-test-core = { module = "androidx.arch.core:core-testing", version = "2.2.0" }
androidx-test-espresso-contrib = { module = "androidx.test.espresso:espresso-contrib", version.ref = "androidx-espresso" }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment