From 29b345c803c153332485b887c5dda67aab399b68 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Sun, 21 Feb 2021 23:11:37 +0800 Subject: Continue adding Card Layout 2. --- app/src/main/res/layout/item_post_card_2_with_preview.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/res/layout/item_post_card_2_with_preview.xml b/app/src/main/res/layout/item_post_card_2_with_preview.xml index fa123b90..62c51aa9 100644 --- a/app/src/main/res/layout/item_post_card_2_with_preview.xml +++ b/app/src/main/res/layout/item_post_card_2_with_preview.xml @@ -7,6 +7,9 @@ android:layout_marginTop="8dp" android:layout_marginBottom="8dp" android:id="@+id/card_view_item_post_card_2_with_preview" + android:clickable="true" + android:focusable="true" + android:background="?attr/selectableItemBackground" android:orientation="vertical">