summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2019-11-07 20:23:51 +0100
committerByteHamster <info@bytehamster.com>2019-11-07 20:23:51 +0100
commit5b710e10f0f5bf0c0e606a287a8e6e166da7e0d1 (patch)
tree1fc4130c2af4566071b1ace9eb10bc4b71e854c9 /app/src
parent04e676408528eb17d74f3191d5c95c84459fc519 (diff)
downloadAntennaPod-5b710e10f0f5bf0c0e606a287a8e6e166da7e0d1.zip
Added shadow to discovery list
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/res/layout/quick_feed_discovery.xml2
-rw-r--r--app/src/main/res/layout/quick_feed_discovery_item.xml6
2 files changed, 5 insertions, 3 deletions
diff --git a/app/src/main/res/layout/quick_feed_discovery.xml b/app/src/main/res/layout/quick_feed_discovery.xml
index a80b9381a..561eadf45 100644
--- a/app/src/main/res/layout/quick_feed_discovery.xml
+++ b/app/src/main/res/layout/quick_feed_discovery.xml
@@ -52,8 +52,6 @@
android:numColumns="4"
app:layout_columnWeight="1"
app:layout_rowWeight="1"
- android:horizontalSpacing="4dp"
- android:verticalSpacing="4dp"
android:scrollbars="none"
android:layout_marginTop="8dp"
android:layout_centerInParent="true"
diff --git a/app/src/main/res/layout/quick_feed_discovery_item.xml b/app/src/main/res/layout/quick_feed_discovery_item.xml
index 6b0c98013..3a0fe0b4b 100644
--- a/app/src/main/res/layout/quick_feed_discovery_item.xml
+++ b/app/src/main/res/layout/quick_feed_discovery_item.xml
@@ -2,12 +2,16 @@
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="match_parent"
+ android:padding="4dp"
+ android:clipToPadding="false">
<de.danoeh.antennapod.view.SquareImageView
android:id="@+id/discovery_cover"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:elevation="4dp"
+ android:outlineProvider="bounds"
android:foreground="?android:attr/selectableItemBackground"/>
</LinearLayout>