mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-24 00:50:32 +00:00
add splash
This commit is contained in:
parent
2c2c61b2fc
commit
1bac5db6d5
12
app/src/main/res/drawable/splash_background.xml
Normal file
12
app/src/main/res/drawable/splash_background.xml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
|
<item
|
||||||
|
android:drawable="@color/light_youtube_primary_color"/>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<bitmap
|
||||||
|
android:gravity="center"
|
||||||
|
android:src="@drawable/splash_forground"/>
|
||||||
|
</item>
|
||||||
|
</layer-list>
|
BIN
app/src/main/res/drawable/splash_forground.png
Normal file
BIN
app/src/main/res/drawable/splash_forground.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
@ -5,7 +5,7 @@
|
|||||||
<item name="colorPrimaryDark">@android:color/transparent</item>
|
<item name="colorPrimaryDark">@android:color/transparent</item>
|
||||||
<item name="colorAccent">@android:color/transparent</item>
|
<item name="colorAccent">@android:color/transparent</item>
|
||||||
|
|
||||||
<item name="android:windowBackground">@color/dark_background_color</item>
|
<item name="android:windowBackground">@drawable/splash_background</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<!-- Base themes -->
|
<!-- Base themes -->
|
||||||
|
Loading…
Reference in New Issue
Block a user