From e77281b99b216b2663b92a2a6122d8a70b8f724a Mon Sep 17 00:00:00 2001 From: Christine Emrich Date: Sun, 27 Aug 2017 17:32:49 +0200 Subject: [PATCH] Give screenshots some margin This way the card views elevation can be displayed properly and multiple screenshots don't merge together. --- .../res/layout/app_details2_screenshot_item.xml | 13 +++++++------ app/src/main/res/values/dimens.xml | 1 + 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/layout/app_details2_screenshot_item.xml b/app/src/main/res/layout/app_details2_screenshot_item.xml index 114dc2269..ce727453f 100644 --- a/app/src/main/res/layout/app_details2_screenshot_item.xml +++ b/app/src/main/res/layout/app_details2_screenshot_item.xml @@ -1,18 +1,19 @@ + app:cardBackgroundColor="#ffffff" + app:cardElevation="3dp"> + + android:scaleType="fitCenter" /> + \ No newline at end of file diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index 93a768f60..dc3213c5f 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -13,6 +13,7 @@ 200dp 200dp + 4dp 16dp