Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Add simple splash screen #401

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add simple splash screen #401

wants to merge 1 commit into from

Conversation

Xorok
Copy link

@Xorok Xorok commented Oct 31, 2017

This PR adds a simple splash screen with a dark color.

It works by setting the lightweight SplashActivity as the default activity in the manifest. This way, the white screen that would be visible on slower devices when the "heavy" activity takes some time to be drawn doesn't appear and is instead replaced with a darker color.

The reason why I like this approach instead of "fancier" splash screens (the ones with a logo or loading animation) is that those make the app seem to open slower, even when they're properly implemented and the app opens just as fast as it did before.

Another reason is because it solves a more prominent problem than wanting to show the users something to look at while the program loads: it replaces the white screen that would be there otherwise and burns the eyes of those which have chosen the dark theme in the settings, hoping that their retinas would be spared.

Also, I needed another PR to finish the #Hacktoberfest challenge ^^

Screenshot: https://imgur.com/a/S8Lma
This PR can be cherry-picked and merges without conflicts with my other PR.

Repository owner deleted a comment from Anti-gravitry Nov 7, 2017
Repository owner deleted a comment from Anti-gravitry Nov 7, 2017
Repository owner deleted a comment from Anti-gravitry Nov 7, 2017
Repository owner deleted a comment from leftchest Dec 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant