fix: Ensure empty timeline message is visible (#191)

Previously was showing pale text on a pale background, so effectively
invisible.

Use `colorPrimary` and `colorOnPrimary` to ensure the text can be seen.
This commit is contained in:
Nik Clayton 2023-10-20 13:29:35 +02:00 committed by GitHub
parent 514b295fe1
commit 566b23ed06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 15 deletions

View File

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:bottom="1dp"
android:left="-1dp"
android:right="-1dp"
android:top="1dp">
<shape android:shape="rectangle">
<stroke android:width="1dp" android:color="?colorOutline"/>
</shape>
</item>
</layer-list>

View File

@ -12,8 +12,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:lineSpacingMultiplier="1.1"
android:textColor="?attr/colorOnPrimary"
android:background="@drawable/help_message_background"
android:textColor="?colorOnPrimary"
android:background="?colorPrimary"
android:layout_marginTop="16dp"
android:padding="16dp"
android:textAlignment="viewStart"