Schakelaarknop wit in donker thema via Material-token-overlay op de wekkerkaarten
This commit is contained in:
parent
8c5c21024d
commit
5c90e27b81
2 changed files with 8 additions and 1 deletions
|
|
@ -59,6 +59,7 @@
|
|||
android:id="@+id/switch_alarm"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:contentDescription="Wekker aan of uit" />
|
||||
android:contentDescription="Wekker aan of uit"
|
||||
app:theme="@style/ThemeOverlay.App.SwitchWit" />
|
||||
</LinearLayout>
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
|
|
@ -14,4 +14,10 @@
|
|||
<item name="android:statusBarColor">@android:color/black</item>
|
||||
<item name="android:navigationBarColor">@android:color/black</item>
|
||||
</style>
|
||||
|
||||
<!-- Alleen voor de wekkerkaarten: de schakelaarknop wit (Material-tokens) -->
|
||||
<style name="ThemeOverlay.App.SwitchWit" parent="">
|
||||
<item name="colorOnSecondaryContainer">@android:color/white</item>
|
||||
<item name="colorSurfaceVariant">@android:color/white</item>
|
||||
</style>
|
||||
</resources>
|
||||
Loading…
Reference in a new issue