mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-11 13:33:07 +02:00
Theming: add a SplashScreen for TrackListActivity.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:opacity="opaque">
|
||||
|
||||
<!-- TODO DayNight: set background color for dayNight -->
|
||||
<item android:drawable="@android:color/background_dark" />
|
||||
|
||||
<item
|
||||
android:width="300dp"
|
||||
android:height="300dp"
|
||||
android:drawable="@drawable/ic_logo_color_108dp"
|
||||
android:gravity="center_vertical|center_horizontal"
|
||||
tools:targetApi="m" />
|
||||
|
||||
</layer-list>
|
||||
@@ -60,4 +60,8 @@ limitations under the License.
|
||||
<item name="android:windowBackground">@android:color/transparent</item>
|
||||
<item name="android:windowIsFloating">true</item>
|
||||
</style>
|
||||
|
||||
<style name="SplashTheme" parent="ThemeCustom">
|
||||
<item name="android:windowBackground">@drawable/splashscreen</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user