mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-26 08:37:29 +00:00
Add launch screen. Fixes https://github.com/austinhuang0131/barinsta/issues/410
This commit is contained in:
parent
8e32958da6
commit
d7ecc935f7
@ -22,7 +22,7 @@
|
|||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:requestLegacyExternalStorage="true"
|
android:requestLegacyExternalStorage="true"
|
||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:theme="@style/AppTheme.Light.White"
|
android:theme="@style/AppTheme.Launcher"
|
||||||
tools:ignore="UnusedAttribute">
|
tools:ignore="UnusedAttribute">
|
||||||
<activity
|
<activity
|
||||||
android:name=".activities.MainActivity"
|
android:name=".activities.MainActivity"
|
||||||
|
BIN
app/src/main/res/drawable/barinsta_logo.png
Normal file
BIN
app/src/main/res/drawable/barinsta_logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
10
app/src/main/res/drawable/launch_screen.xml
Normal file
10
app/src/main/res/drawable/launch_screen.xml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:opacity="opaque">
|
||||||
|
<item android:drawable="@color/grey_900" />
|
||||||
|
<item>
|
||||||
|
<bitmap
|
||||||
|
android:gravity="center"
|
||||||
|
android:src="@drawable/barinsta_logo" />
|
||||||
|
</item>
|
||||||
|
</layer-list>
|
@ -140,4 +140,8 @@
|
|||||||
<item name="dmOutgoingBgColor">@color/deep_purple_400</item>
|
<item name="dmOutgoingBgColor">@color/deep_purple_400</item>
|
||||||
<item name="dmDateHeaderBgColor">@color/deep_purple_600</item>
|
<item name="dmDateHeaderBgColor">@color/deep_purple_600</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="AppTheme.Launcher" parent="AppTheme.Dark">
|
||||||
|
<item name="android:windowBackground">@drawable/launch_screen</item>
|
||||||
|
</style>
|
||||||
</resources>
|
</resources>
|
Loading…
Reference in New Issue
Block a user