forked from GitHub-Mirror/riotX-android
Add splash screen faking toolbar
This commit is contained in:
16
app/src/main/res/drawable/bg_splash.xml
Normal file
16
app/src/main/res/drawable/bg_splash.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:opacity="opaque">
|
||||
<item>
|
||||
<shape>
|
||||
<solid android:color="@android:color/white" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
<item android:gravity="top">
|
||||
<shape android:shape="rectangle">
|
||||
<size android:height="80dp" />
|
||||
<solid android:color="?colorPrimary" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
@ -5,5 +5,9 @@
|
||||
|
||||
</style>
|
||||
|
||||
<style name="Theme.Riot.Splash">
|
||||
<item name="android:windowBackground">@drawable/bg_splash</item>
|
||||
</style>
|
||||
|
||||
|
||||
</resources>
|
@ -11,4 +11,5 @@
|
||||
<style name="Base.Theme.Riot" parent="Base.V1.Theme.Riot" />
|
||||
|
||||
|
||||
|
||||
</resources>
|
Reference in New Issue
Block a user