Last active
March 6, 2017 02:45
-
-
Save pallocchi/247516f06741c9db2f761706e8168113 to your computer and use it in GitHub Desktop.
Splash screen in Android: The right way
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MainActivity extends AppCompatActivity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
// Make sure this is before calling super.onCreate | |
setTheme(R.style.AppTheme); | |
super.onCreate(savedInstanceState); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment