diff options
author | Niedermann IT-Dienstleistungen <stefan-niedermann@users.noreply.github.com> | 2024-01-23 12:53:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-23 12:53:25 +0300 |
commit | e735ce1c24e5a0305d6a08e5764864c2c96c8a58 (patch) | |
tree | 91b5666877820ab62e858fa38a44d5b969e61564 /app/src/main/res/layout/item_activity.xml | |
parent | 5944cab8a086e953fa4fdd2e90e2bc01f38f30f0 (diff) | |
parent | b66b980a495b100108cf2efb3e45bb006b5e0117 (diff) |
Merge pull request #1570 from stefan-niedermann/grayscale-default-theme
feat(theming): Use grayscale default theme to avoid wrong color tones
Diffstat (limited to 'app/src/main/res/layout/item_activity.xml')
-rw-r--r-- | app/src/main/res/layout/item_activity.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/src/main/res/layout/item_activity.xml b/app/src/main/res/layout/item_activity.xml index 85fc740f8..436e47ffc 100644 --- a/app/src/main/res/layout/item_activity.xml +++ b/app/src/main/res/layout/item_activity.xml @@ -8,12 +8,13 @@ android:orientation="vertical" android:padding="@dimen/spacer_2x"> - <TextView + <com.google.android.material.textview.MaterialTextView android:id="@+id/date" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginStart="56dp" android:textAppearance="?attr/textAppearanceListItemSecondary" + android:textColor="?attr/colorOnSurfaceVariant" tools:text="4 days ago" /> <LinearLayout @@ -28,11 +29,12 @@ android:layout_marginEnd="@dimen/spacer_2x" app:srcCompat="@drawable/type_change_36dp" /> - <TextView + <com.google.android.material.textview.MaterialTextView android:id="@+id/subject" android:layout_width="match_parent" android:layout_height="wrap_content" android:textAppearance="?attr/textAppearanceListItem" + android:textColor="?attr/colorOnSurface" tools:maxLength="150" tools:text="@tools:sample/lorem/random" /> </LinearLayout> |