Animated splash-screen android in xml-format (layer-list)
Clash Royale CLAN TAG#URR8PPP
Animated splash-screen android in xml-format (layer-list)
Is it possible to make an animated splash-screen when just using a drawable xml-file (with layer-list) and call this from android Manifest file:
android:theme="@style/AppTheme.Launcher">
/style
<!-- SPLASH TEST-->
<style name="AppTheme.Launcher">
<item name="android:windowBackground">@drawable/launch_screen</item>
</style>
xml-file
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" android:opacity="opaque">
<item android:drawable="@color/colorPrimary"/>
<item>
<bitmap
android:src="@drawable/android_splash"
android:gravity="center"/>
</item>
Let say I have 5 images of android_splash (1 2 3 4 5), could I make changes in the launch-screen.xml så that the splash-screen animates? Then how would it look like in code?
cincerely
1 Answer
1
Yes it can be done i.e for example by using Frame Animation check the below link for more idea
https://www.101apps.co.za/articles/frame-by-frame-animation-tutorial.html
thanks will check it out
– java
Aug 10 at 15:55
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Maybe this tutorial will help you achieve it. medium.com/@spparks_/…
– Daniel
Aug 10 at 17:06