mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-16 11:16:12 -04:00
Improve notification theming (#47)
* Make notification themes more dynamic to adapt to day/night/system themes. * Fix broken style references
This commit is contained in:
@@ -7,14 +7,26 @@
|
||||
<item name="android:layout_marginEnd">8dp</item>
|
||||
</style>
|
||||
|
||||
<style name="Notification">
|
||||
|
||||
</style>
|
||||
|
||||
<style name="Notification.Container">
|
||||
<!-- <item name="android:background">?android:attr/colorBackground</item>-->
|
||||
<item name="android:theme">@style/Theme.Material3.DynamicColors.DayNight</item>
|
||||
</style>
|
||||
|
||||
<style name="PodInfoItemIcon.Notification" parent="TextAppearance.Compat.Notification.Title">
|
||||
<item name="android:layout_height">20dp</item>
|
||||
<item name="android:layout_width">20dp</item>
|
||||
<item name="android:tint">?android:attr/colorAccent</item>
|
||||
<item name="tint">?android:attr/colorAccent</item>
|
||||
</style>
|
||||
|
||||
<style name="PodInfoItemText.Notification" parent="TextAppearance.Compat.Notification.Title">
|
||||
<item name="android:singleLine">true</item>
|
||||
<item name="android:ellipsize">end</item>
|
||||
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
||||
</style>
|
||||
|
||||
<style name="PodInfoItemIcon" parent="TextAppearance.MaterialComponents.Body2">
|
||||
|
||||
Reference in New Issue
Block a user