Add new custom CheckBox style to the style files and include new 'night-v21' style file

This commit is contained in:
uykek 2020-08-30 11:13:15 +02:00
parent 364bb80778
commit c886c6cae3
5 changed files with 42 additions and 3 deletions

View file

@ -0,0 +1,21 @@
<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>
<style name="CheckBox" parent="CheckBoxStyle">
<item name="android:layout_marginBottom">7dp</item>
</style>
</resources>

View file

@ -66,9 +66,13 @@
</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>
<item name="android:paddingBottom">0dp</item>
</style>
<style name="CheckBoxStyle" parent="@style/Widget.AppCompat.CompoundButton.CheckBox"/>
<style name="CheckBox" parent="CheckBoxStyle">
<item name="android:layout_marginBottom">0dp</item>
</style>
<style name="SplashTheme" parent="@android:style/Theme.NoTitleBar.Fullscreen">

View file

@ -14,4 +14,8 @@
<item name="android:layout_height">57dp</item>
</style>
<style name="CheckBox" parent="CheckBoxStyle">
<item name="android:layout_marginBottom">7dp</item>
</style>
</resources>

View file

@ -7,4 +7,8 @@
<item name="android:layout_height">80dp</item>
</style>
<style name="CheckBox" parent="CheckBoxStyle">
<item name="android:layout_marginBottom">30dp</item>
</style>
</resources>

View file

@ -69,6 +69,12 @@
<item name="android:layout_height">50dp</item>
</style>
<style name="CheckBoxStyle" parent="@style/Widget.AppCompat.CompoundButton.CheckBox"/>
<style name="CheckBox" parent="CheckBoxStyle">
<item name="android:layout_marginBottom">0dp</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>