Add click listeners to Song/Album items

Add the ripple selection effect & the click listener to the song and album items.
This commit is contained in:
OxygenCobalt
2020-09-02 19:50:47 -06:00
parent af26aed735
commit 5827ca492c
11 changed files with 43 additions and 16 deletions
-3
View File
@@ -1,3 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="?attr/colorPrimary" />
+3
View File
@@ -13,6 +13,9 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackground"
android:clickable="true"
android:focusable="true"
android:padding="@dimen/padding_medium">
<ImageView
+3
View File
@@ -13,6 +13,9 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackground"
android:clickable="true"
android:focusable="true"
android:padding="@dimen/padding_medium">
<ImageView