mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-16 15:09:26 +01:00
parent
16fb1a584d
commit
a356c1f7bd
@ -45,7 +45,7 @@
|
|||||||
<activity
|
<activity
|
||||||
android:name=".activities.ControlCenterv2"
|
android:name=".activities.ControlCenterv2"
|
||||||
android:label="@string/title_activity_controlcenter"
|
android:label="@string/title_activity_controlcenter"
|
||||||
android:theme="@style/GadgetbridgeTheme.NoActionBar">
|
android:theme="@style/SplashTheme">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<category android:name="android.intent.category.DEFAULT" />
|
<category android:name="android.intent.category.DEFAULT" />
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
13
app/src/main/res/drawable/splash.xml
Normal file
13
app/src/main/res/drawable/splash.xml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
|
<item
|
||||||
|
android:drawable="@color/primary_dark"/>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<bitmap
|
||||||
|
android:gravity="center"
|
||||||
|
android:src="@drawable/gadgetbridge_img"/>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
</layer-list>
|
@ -1,4 +1,4 @@
|
|||||||
<resources>
|
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||||
|
|
||||||
<style name="GadgetbridgeTheme" parent="Theme.AppCompat.Light.DarkActionBar">
|
<style name="GadgetbridgeTheme" parent="Theme.AppCompat.Light.DarkActionBar">
|
||||||
<item name="textColorPrimary">@color/primarytext_light</item>
|
<item name="textColorPrimary">@color/primarytext_light</item>
|
||||||
@ -54,4 +54,10 @@
|
|||||||
<style name="GadgetbridgeTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
|
<style name="GadgetbridgeTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
|
||||||
|
|
||||||
<style name="GadgetbridgeTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
|
<style name="GadgetbridgeTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
|
||||||
|
|
||||||
|
<style name="SplashTheme" parent="GadgetbridgeTheme.NoActionBar">
|
||||||
|
<item tools:targetApi="21" name="android:statusBarColor">@color/primarydark_dark</item>
|
||||||
|
<item tools:targetApi="21" name="android:navigationBarColor">@color/primarydark_dark</item>
|
||||||
|
<item name="android:windowBackground">@drawable/splash</item>
|
||||||
|
</style>
|
||||||
</resources>
|
</resources>
|
||||||
|
Loading…
Reference in New Issue
Block a user