From 8d8cfa4d73a021662dc0ab1d8cee2b19557b2051 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 5 May 2019 15:47:35 +0200 Subject: [PATCH] adding some text shadow to thumbnail texts for easier readability --- app/src/main/res/layout/directory_item_grid.xml | 2 ++ app/src/main/res/layout/photo_video_item_grid.xml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/src/main/res/layout/directory_item_grid.xml b/app/src/main/res/layout/directory_item_grid.xml index 4eab84e66..550001a4a 100644 --- a/app/src/main/res/layout/directory_item_grid.xml +++ b/app/src/main/res/layout/directory_item_grid.xml @@ -69,6 +69,8 @@ android:layout_height="wrap_content" android:ellipsize="end" android:maxLines="2" + android:shadowColor="@color/default_background_color" + android:shadowRadius="4" android:paddingBottom="@dimen/small_margin" android:textColor="@android:color/white" android:textSize="@dimen/normal_text_size"/> diff --git a/app/src/main/res/layout/photo_video_item_grid.xml b/app/src/main/res/layout/photo_video_item_grid.xml index 1ab8faae6..abeeb8618 100644 --- a/app/src/main/res/layout/photo_video_item_grid.xml +++ b/app/src/main/res/layout/photo_video_item_grid.xml @@ -69,6 +69,8 @@ android:paddingLeft="@dimen/small_margin" android:paddingRight="@dimen/small_margin" android:paddingBottom="@dimen/small_margin" + android:shadowColor="@color/default_background_color" + android:shadowRadius="4" android:textColor="@android:color/white" android:textSize="@dimen/smaller_text_size" tools:text="My photo"/>