Skip to content

Add splash screen for first launch#73

Open
rkm0078 wants to merge 1 commit into
ardovic:masterfrom
rkm0078:feature/first-launch-splash-screen
Open

Add splash screen for first launch#73
rkm0078 wants to merge 1 commit into
ardovic:masterfrom
rkm0078:feature/first-launch-splash-screen

Conversation

@rkm0078

@rkm0078 rkm0078 commented Jun 14, 2026

Copy link
Copy Markdown

This pull request adds a splash/loading screen displayed during the first application launch while the local city database is being initialized.

Changes
Added a splash screen layout.
Added SplashActivity.
Displayed loading information for first-time users.
Redirects to MainActivity after initialization.

This improves the first launch experience by replacing the blank white screen with a user-friendly loading screen.


pref.edit().putBoolean("first", false).apply();

startActivity(new Intent(SplashActivity.this, MainActivity.class));

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of SplashActivity.this, just use this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants