diff options
Diffstat (limited to 'app/src/main/res/layout/horizontal_feed_item.xml')
-rw-r--r-- | app/src/main/res/layout/horizontal_feed_item.xml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/app/src/main/res/layout/horizontal_feed_item.xml b/app/src/main/res/layout/horizontal_feed_item.xml new file mode 100644 index 000000000..56a3b317d --- /dev/null +++ b/app/src/main/res/layout/horizontal_feed_item.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:squareImageView="http://schemas.android.com/apk/de.danoeh.antennapod" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="96dp" + android:padding="4dp" + android:clipToPadding="false" + android:clipToOutline="false" + android:clipChildren="false"> + + <androidx.cardview.widget.CardView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + app:cardBackgroundColor="@color/non_square_icon_background" + app:cardCornerRadius="16dp" + app:cardPreventCornerOverlap="false" + app:cardElevation="2dp"> + + <de.danoeh.antennapod.ui.common.SquareImageView + android:id="@+id/discovery_cover" + android:layout_width="match_parent" + android:layout_height="96dp" + android:elevation="4dp" + android:outlineProvider="bounds" + android:foreground="?android:attr/selectableItemBackground" + android:background="?android:attr/windowBackground" + squareImageView:direction="height" /> + + </androidx.cardview.widget.CardView> + +</LinearLayout> |