Simple&Natural
[Android] 스플래시 화면(Splash Screen)의 목적과 올바른 사용법 본문
자료들의 내용을 간단히 요약하면
스플래시 화면은 의도적으로 앱 실행을 지연시키고 작업을 처리하는 용도로 사용하는 것을 지양하는 것을 권한다.
앱 실행시 잠깐의 지연시간 동안 브랜드 로고 및 버전 표시, 로딩 상태 알림 등의 목적으로 사용해야 한다.
따라서 Fragment나 Activity를 이용해 따로 Splash Screen을 만드는 것은 안티패턴이고
Style을 이용하여 앱이 로드되기 전까지 특정화면을 보여주는 방법을 권장한다.
예제의 @mipmap/ic_launcher를 그대로 입력하면 아마 화면 렌더링이 제대로 이루어지지 않을 것이다.
이는 같은 mipmap폴더 내에 있는 vector타입(xml)의 ic_launcher를 인식하기 때문으로 해당 vector파일을 지우거나
다른 bitmap이미지 파일로 바꿔주면 된다.
참고자료
medium.com/@pererikbergman/android-splash-screens-a1f44acb4fce
Android Splash Screens
The Right Way and The Not so Right Way
medium.com
computingforgeeks.com/code-android-launcher-screen-for-your-app-the-right-way/
How to code Android Launcher Screen (Splash Screen) for your app the right way | ComputingForGeeks
When your app is launched by the user, it will show some white or black screen briefly before the main screen is shown. This is because it will take a few
computingforgeeks.com
android.jlelse.eu/the-complete-android-splash-screen-guide-c7db82bce565
The (Complete) Android Splash Screen Guide
In the past, having splash screens in your Android app were not recommended. It didn’t make much sense to intentionally delay the user by…
android.jlelse.eu
'안드로이드(Android) > 학습자료' 카테고리의 다른 글
[Android] 안드로이드 CustomView 만들기 (0) | 2020.10.26 |
---|---|
[Android] ListAdapter 학습 자료 (0) | 2020.10.25 |
[Android] SingleActivity 구조에서 Full Fragment 적용 방법 (0) | 2020.10.12 |
Serialize와 Parcelize (0) | 2020.10.07 |
안드로이드 BottomNavigation Design Guide (0) | 2020.09.27 |