From 34c7f9d081ef6171bb4e728780904e3482db5ab1 Mon Sep 17 00:00:00 2001 From: Jannik Date: Tue, 20 Sep 2022 15:20:49 +0200 Subject: [PATCH] replace TextView in shimmer items with dummy ImageView with rounded corners --- app/src/main/res/layout/item_highlight_shimmer.xml | 14 +++++++------- app/src/main/res/layout/item_media_shimmer.xml | 13 ++++++------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/app/src/main/res/layout/item_highlight_shimmer.xml b/app/src/main/res/layout/item_highlight_shimmer.xml index 21a9cc7..a30e89e 100644 --- a/app/src/main/res/layout/item_highlight_shimmer.xml +++ b/app/src/main/res/layout/item_highlight_shimmer.xml @@ -29,14 +29,14 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/shimmer_image_highlight"> - + android:layout_gravity="center" + app:srcCompat="@drawable/shape_rounded_corner" + tools:ignore="ContentDescription" /> - + app:layout_constraintTop_toBottomOf="@+id/frame_image_progress" + app:srcCompat="@drawable/shape_rounded_corner" + tools:ignore="ContentDescription" /> \ No newline at end of file