85 lines
3.7 KiB
XML
85 lines
3.7 KiB
XML
<resources xmlns:tools="http://schemas.android.com/tools">
|
|
<!-- Base application theme. -->
|
|
<style name="Theme.Haussteuerung" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
|
|
<!-- Primary brand color. -->
|
|
<item name="colorPrimary">@color/gradient_blue</item>
|
|
<item name="colorPrimaryVariant">@color/gradient_blue</item>
|
|
<item name="colorOnPrimary">@color/black</item>
|
|
<!-- Secondary brand color. -->
|
|
<item name="colorSecondary">@color/gradient_blue</item>
|
|
<item name="colorSecondaryVariant">@color/gradient_blue</item>
|
|
<item name="colorOnSecondary">@color/black</item>
|
|
<!-- Status bar color. -->
|
|
<item name="android:statusBarColor" >?attr/colorPrimaryVariant</item>
|
|
<!-- Customize your theme here. -->
|
|
</style>
|
|
|
|
<style name="Theme.Haussteuerung.AppWidgetContainerParent" parent="@android:style/Theme.DeviceDefault">
|
|
<!-- Radius of the outer bound of widgets to make the rounded corners -->
|
|
<item name="appWidgetRadius">16dp</item>
|
|
<!--
|
|
Radius of the inner view's bound of widgets to make the rounded corners.
|
|
It needs to be 8dp or less than the value of appWidgetRadius
|
|
-->
|
|
<item name="appWidgetInnerRadius">8dp</item>
|
|
</style>
|
|
|
|
<style name="Theme.Haussteuerung.AppWidgetContainer" parent="Theme.Haussteuerung.AppWidgetContainerParent">
|
|
<!-- Apply padding to avoid the content of the widget colliding with the rounded corners -->
|
|
<item name="appWidgetPadding">16dp</item>
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Widget.Haussteuerung.AppWidget.Container" parent="android:Widget">
|
|
<item name="android:id">@android:id/background</item>
|
|
<item name="android:background">?android:attr/colorBackground</item>
|
|
</style>
|
|
|
|
<style name="Widget.Haussteuerung.AppWidget.InnerView" parent="android:Widget">
|
|
<item name="android:background">?android:attr/colorBackground</item>
|
|
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
|
</style>
|
|
|
|
<style name="CustomAlertDialog" parent="Theme.AppCompat.Light.Dialog.Alert">
|
|
<item name="android:windowBackground">@drawable/popup_background</item>
|
|
<item name="android:bottomRightRadius">10dp</item>
|
|
<item name="android:bottomLeftRadius">10dp</item>
|
|
<item name="backgroundTint">@android:color/transparent</item>
|
|
</style>
|
|
|
|
<style name="BottomNavigationView" parent="@style/TextAppearance.AppCompat.Caption">
|
|
<item name="android:textSize">12sp</item>
|
|
</style>
|
|
|
|
<style name="BottomNavigationView.Active" parent="@style/TextAppearance.AppCompat.Caption">
|
|
<item name="android:textSize">18sp</item>
|
|
</style>
|
|
|
|
<style name="Switch.TrackTint" parent="Theme.AppCompat.Light">
|
|
<!-- active thumb & track color (30% transparency) -->
|
|
<item name="colorControlActivated">@color/gradient_blue</item>
|
|
|
|
<!-- inactive thumb color -->
|
|
<item name="colorSwitchThumbNormal">#A9A9A9</item>
|
|
|
|
<!-- inactive track color (30% transparency) -->
|
|
<item name="android:colorForeground">@color/grey</item>
|
|
</style>
|
|
|
|
<style name="NumberPickerText">
|
|
<item name="android:textSize">22sp</item>
|
|
</style>
|
|
|
|
<style name="NumberPickerChristmas" parent="Theme.AppCompat.Light">
|
|
<item name="android:textSize">26sp</item>
|
|
<item name="android:textColorPrimary">@color/white</item>
|
|
<item name="android:colorControlNormal">@color/white</item>
|
|
</style>
|
|
|
|
<style name="checkBoxStyle" parent="Base.Theme.AppCompat">
|
|
<item name="colorAccent">@color/gradient_blue</item>
|
|
<item name="android:textColorSecondary">@color/grey</item>
|
|
</style>
|
|
|
|
</resources> |