fix: notifications color contract

This commit is contained in:
Andries Smit 2022-03-05 20:49:00 +01:00
parent 6b526f1a9c
commit 5bee00a0bf
2 changed files with 4 additions and 2 deletions

View file

@ -7,7 +7,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:layout_margin="1dp" android:layout_margin="1dp"
card_view:cardBackgroundColor="@color/cardColorBackground" card_view:cardBackgroundColor="@color/notificationUrgent"
card_view:cardCornerRadius="6dp"> card_view:cardCornerRadius="6dp">
<LinearLayout <LinearLayout
@ -22,7 +22,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="5dp" android:layout_marginStart="5dp"
android:layout_weight="1" android:layout_weight="1"
android:textColor="@color/black"
android:maxLines="4" android:maxLines="4"
android:textStyle="bold"
android:text="Notification text. Notification text. Notification text. Notification text. Notification text. Notification text. " android:text="Notification text. Notification text. Notification text. Notification text. Notification text. Notification text. "
tools:ignore="HardcodedText" /> tools:ignore="HardcodedText" />

View file

@ -43,7 +43,7 @@
<color name="notificationUrgent">#ff0400</color> <color name="notificationUrgent">#ff0400</color>
<color name="notificationNormal">#ff5e55</color> <color name="notificationNormal">#ff5e55</color>
<color name="notificationLow">#ff827c</color> <color name="notificationLow">#ff827c</color>
<color name="notificationInfo">#009705</color> <color name="notificationInfo">#24DF2B</color>
<color name="deviationgrey">#c8666666</color> <color name="deviationgrey">#c8666666</color>
<color name="deviationgreen">#7200FF00</color> <color name="deviationgreen">#7200FF00</color>