Created
July 10, 2014 22:58
-
-
Save baneizalfe/a95162c285e9ed9dc2e3 to your computer and use it in GitHub Desktop.
If your app is using background image for splash, display it as soon as posible, with full width on each device, centered on top
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
<?xml version="1.0" encoding="utf-8"?> | |
<bitmap xmlns:android="http://schemas.android.com/apk/res/android" | |
android:dither="true" | |
android:gravity="top|fill_horizontal" | |
android:src="@drawable/splash_bg" | |
android:tileMode="disabled" /> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<style name="Theme.MyFullTheme" parent="android:Theme.Light.NoTitleBar"> | |
<item name="android:windowBackground">@drawable/app_bg</item> | |
</style> | |
</resources> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment