forked from upstream-mirrors/OpenTracks
Theming: splashscreen uses dark background color.
This commit is contained in:
@@ -3,8 +3,7 @@
|
|||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:opacity="opaque">
|
android:opacity="opaque">
|
||||||
|
|
||||||
<!-- TODO DayNight: set background color for dayNight -->
|
<item android:drawable="@color/splashscreen_background" />
|
||||||
<item android:drawable="@android:color/background_dark" />
|
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:width="300dp"
|
android:width="300dp"
|
||||||
|
|||||||
@@ -36,4 +36,6 @@ limitations under the License.
|
|||||||
<color name="text_gradient_end">#00000000</color> <!-- black 0% opacity -->
|
<color name="text_gradient_end">#00000000</color> <!-- black 0% opacity -->
|
||||||
<color name="text_gradient_start">#FF000000</color> <!-- black 100% opacity -->
|
<color name="text_gradient_start">#FF000000</color> <!-- black 100% opacity -->
|
||||||
<color name="track_controller_background">#FF0E0E0E</color> <!-- dark gray -->
|
<color name="track_controller_background">#FF0E0E0E</color> <!-- dark gray -->
|
||||||
|
|
||||||
|
<color name="splashscreen_background">#272727</color>
|
||||||
</resources>
|
</resources>
|
||||||
@@ -51,7 +51,8 @@ limitations under the License.
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="SplashTheme" parent="ThemeCustom">
|
<style name="SplashTheme" parent="ThemeCustom">
|
||||||
|
<item name="android:statusBarColor">@color/splashscreen_background</item>
|
||||||
|
<item name="android:navigationBarColor">@color/splashscreen_background</item>
|
||||||
<item name="android:windowBackground">@drawable/splashscreen</item>
|
<item name="android:windowBackground">@drawable/splashscreen</item>
|
||||||
<item name="android:windowFullscreen">true</item>
|
|
||||||
</style>
|
</style>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
Reference in New Issue
Block a user