Add <resources>-night counterpieces of the style.xml files.

This commit is contained in:
uykek 2020-06-03 10:31:24 +02:00
parent b7189338f7
commit 81ca1b4374
3 changed files with 94 additions and 0 deletions

View file

@ -0,0 +1,17 @@
<resources>>
<style name="AppTheme.NoActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
<item name="android:statusBarColor">@android:color/transparent</item>
</style>
<style name="RatingBar" parent="RatingBarStyle">
<item name="android:minHeight">57dp</item>
<item name="android:maxHeight">57dp</item>
<item name="android:layout_height">57dp</item>
</style>
</resources>

View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="RatingBar" parent="RatingBarStyle">
<item name="android:minHeight">80dip</item>
<item name="android:maxHeight">80dip</item>
<item name="android:layout_height">80dp</item>
</style>
</resources>

View file

@ -0,0 +1,67 @@
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.DayNight">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimaryDark</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="lightestBackGround">@color/white</item>
<item name="lightestFontColor">@color/white</item>
<item name="standardVectorGraphic">@color/black</item>
<item name="winScreenPedestalColor">@color/middleblue</item>
<item name="backgroundSurroundingDialog">@color/transparent</item>
<item name="actionBarTheme">@style/ToolbarStyle</item>
</style>
<style name="ToolbarStyle" parent="Widget.AppCompat.ActionBar">
<item name="android:textColorPrimary">@color/white</item>
<item name="colorControlNormal">@color/white</item>
</style>
<style name="AppTheme.NoActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
<style name="WinDialog">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@color/transparent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsFloating">false</item>
<item name="android:backgroundDimEnabled">true</item>
<item name="android:windowFullscreen">true</item>
<item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
<item name="android:windowSoftInputMode">adjustPan|stateUnspecified</item>
</style>
<style name="RatingBarStyle" parent="@android:style/Widget.RatingBar">
<item name="android:progressDrawable">@drawable/ratingbar</item>
</style>
<style name="RatingBar" parent="RatingBarStyle">
<item name="android:minHeight">50dp</item>
<item name="android:maxHeight">50dp</item>
<item name="android:layout_height">50dp</item>
</style>
<style name="SplashTheme" parent="@android:style/Theme.NoTitleBar.Fullscreen">
<item name="android:windowBackground">@drawable/splash_screen</item>
<item name="android:windowNoTitle">true</item>
</style>
<!-- <style name="FontStyle">
<item name="android:fontFamily"></item>
</style> -->
</resources>