Splash screen demo that used with ‘Splash Screen‘ API on Android 12.

Overview

Splash Screen Feature

Splash screen demo that used with Splash Screen API on Android 12.

📸 Screenshot

Default splash screen

在这里插入图片描述

Splash screen with animated icon

在这里插入图片描述

Splash screen exit animation by total view

在这里插入图片描述

Splash screen exit animation by icon

在这里插入图片描述

📙  Splash Screen API

Class & Interface

类/接口 作用
SplashScreen 启动画面管理接口,通过Activity#getSplashScreen取得
OnExitAnimationListener 启动画面退出的回调接口,通过SplashScreen#setOnExitAnimationListener注册
SplashScreenView 启动画面包含的视图,用以定制整体或Icon的退出动画

attr

attr 作用 备注
splashScreenTheme 指定SplashScreen相关的Style 指定的style有些问题比如brand图片会不显示
windowSplashScreenBackground 定制启动画面的背景颜色 未设置的话从windowBackground里读取
windowSplashScreenBrandingImage 自定义指定启动画面底部的品牌图标 -
windowSplashScreenAnimatedIcon 指定Icon,支持静态或动画Drawable -
windowSplashScreenAnimationDuration 指定动画Icon的时长 上限为1000ms
windowSplashScreenIconBackgroundColor 补充图标Icon的背景色 -

📙  Reference

New feature:Splash Screen

📙  My blog

https://blog.csdn.net/allisonchen

©️ License

MIT License

Copyright (c) 2021 Ellison Chan

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

You might also like...
[] Android library for using the Honeycomb animation API on all versions of the platform back to 1.0!

DEPRECATED NineOldAndroids is deprecated. No new development will be taking place. Existing versions will (of course) continue to function. New applic

A backport of the new Transitions API for Android

TransitionsBackport Android library for using the Transitions API released with Android KitKat on older versions of Android. At the moment, it is comp

Fast marker clustering library for Google Maps Android API.
Fast marker clustering library for Google Maps Android API.

Google Maps Clustering for Android A fast marker clustering library for Google Maps Android API. Motivation Why not use Google Maps Android API Utilit

Circle based animations for Android (min. API 11)
Circle based animations for Android (min. API 11)

CircularTools Circle based animations for Android (min. API 11) Currently implemented: Circular reveal Circular transform Radial reaction Reveal:YouTu

Postman is a reactive One-tap SMS verification library. This library allows the usage of RxJava with The SMS User Consent API
Postman is a reactive One-tap SMS verification library. This library allows the usage of RxJava with The SMS User Consent API

What is Postman? Postman is a reactive One-tap SMS verification library. This library allows the usage of RxJava with The SMS User Consent API Usage P

A component for flip animation on Android, which is similar to the effect in Flipboard iPhone/Android
A component for flip animation on Android, which is similar to the effect in Flipboard iPhone/Android

android-flip Aphid FlipView is a UI component to accomplish the flipping animation like Flipboard does. A pre-built demo APK file for Android OS 2.2+

:rocket: Ultimate Android Reference - Your Road to Become a Better Android Developer
:rocket: Ultimate Android Reference - Your Road to Become a Better Android Developer

The goal of this project is to provide a hand-picked collection of Android libraries, tools, open-source projects, books, blogs, tutorials - you name

Deprecated in favour of https://developer.android.com/reference/android/support/v4/view/animation/PathInterpolatorCompat.html

Deprecated: use https://developer.android.com/reference/android/support/v4/view/animation/PathInterpolatorCompat.html instead. android-cubic-bezier-in

Android Country Picker is a Kotlin-first, flexible and powerful Android library that allows to integrate Country Picker with just a few lines.
Android Country Picker is a Kotlin-first, flexible and powerful Android library that allows to integrate Country Picker with just a few lines.

1. Add dependency dependencies { implementation 'com.hbb20:android-country-picker:X.Y.Z' } For latest version, 2. Decide your use-case

Comments
  • Animations Previous Api 12 ?

    Animations Previous Api 12 ?

    Hi I can not see animations in devices earlier than 12, but in your description says support from Android 6, and you tested on Android 8 and 12. Could you help me, please ?

    opened by billyjoker 5
Owner
Ellison Chan
Hello, GitHubers.
Ellison Chan
It's a cool animation which can use in splash or somewhere else.

What's Particle ? It's a cool animation which can use in splash or anywhere else. Demo Article 手摸手教你用Canvas实现简单粒子动画 Attributes name format description

巴掌 1.4k Dec 12, 2022
This a demo application with animated SVG animation of Smiley

Animated-Smiley-Rating Animated Customer feedback and rating UI ?? License Copyright 2021 Aiman Muzafar Licensed under the Apache License, Version 2.0

Aiman Muzafar 12 Aug 12, 2021
Android GraphView is used to display data in graph structures.

GraphView Android GraphView is used to display data in graph structures. Overview The library is designed to support different graph layouts and curre

null 991 Dec 30, 2022
Wrapper of the ObjectAnimator that can be used similarly to ViewPropertyAnimator

ViewPropertyObjectAnimator Wrapper of the ObjectAnimator that can be used similarly to ViewPropertyAnimator. ViewPropertyObjectAnimator is as easy to

Bartek Lipinski 313 Dec 19, 2022
You can easily access the top of the screen in Android. Like a iPhone 6 & 6 Plus.

Reachability on Android Easy access on top. Like a iPhone 6 & 6 Plus. demo apk Usage Add dependencies compile 'com.github.sakebook:Reachability:0.2.0@

sakebook 258 Nov 12, 2022
A simple and customizable Android full-screen image viewer with shared image transition support, "pinch to zoom" and "swipe to dismiss" gestures

Stfalcon ImageViewer A simple and customizable full-screen image viewer with shared image transition support, "pinch to zoom" and "swipe to dismiss" g

Stfalcon LLC 1.9k Jan 5, 2023
Chandrasekar Kuppusamy 799 Nov 14, 2022
:octocat: ≡ DirectSelect is a selection widget with an ethereal, full-screen modal popup displaying the available choices when the widget is interact with.

DIRECT SELECT [JAVA] Selection widget with an ethereal, full-screen modal popup displaying the available choices We specialize in the designing and co

Ramotion 536 Nov 22, 2022
Shake screen animation workplace

shake-screen-compose-playground Shake screen animation workplace Playground for a shake screen animation. Created new Animatable so Offset can be anim

Greg Kluska 2 Feb 14, 2022
Implementation of Ripple effect from Material Design for Android API 9+

RippleEffect ExpandableLayout provides an easy way to create a view called header with an expandable view. Both view are external layout to allow a ma

Robin Chutaux 4.9k Dec 30, 2022