Cover and text are selectable. Show this on click

This commit is contained in:
ByteHamster 2019-09-11 17:04:25 +02:00
parent ada0101b07
commit 20d04c41f1
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@
android:layout_marginBottom="16dp" android:layout_marginBottom="16dp"
android:contentDescription="@string/cover_label" android:contentDescription="@string/cover_label"
android:gravity="center_vertical" android:gravity="center_vertical"
android:foreground="?attr/selectableItemBackground"
tools:src="@drawable/ic_stat_antenna_default" tools:src="@drawable/ic_stat_antenna_default"
tools:background="@android:color/holo_green_dark" /> tools:background="@android:color/holo_green_dark" />
@ -47,6 +48,7 @@
android:layout_alignTop="@id/imgvCover" android:layout_alignTop="@id/imgvCover"
android:layout_toRightOf="@id/imgvCover" android:layout_toRightOf="@id/imgvCover"
android:layout_toEndOf="@id/imgvCover" android:layout_toEndOf="@id/imgvCover"
android:foreground="?attr/selectableItemBackground"
tools:text="Podcast title" tools:text="Podcast title"
tools:background="@android:color/holo_green_dark" /> tools:background="@android:color/holo_green_dark" />