Commit 83187f5a authored by Habib Kazemi's avatar Habib Kazemi Committed by Geoffrey Métais

Add Ripple Effect to recyclerView items

Signed-off-by: default avatarGeoffrey Métais <geoffrey.metais@gmail.com>
parent fdf5c710
......@@ -110,8 +110,8 @@
app:refreshing="@{viewmodel.isApiLoading}"
app:onRefreshListener="@{()-> viewmodel.onRefresh()}"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/right_vertical_guideline"
app:layout_constraintStart_toStartOf="@+id/left_vertical_guideline"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/barrier" >
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/subtitle_list"
......
......@@ -12,6 +12,9 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:background="?android:attr/selectableItemBackground"
android:minHeight="50dp"
android:focusable="true">
......
......@@ -11,8 +11,6 @@
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginBottom="8dp"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:focusable="true"
app:layout_constraintBottom_toBottomOf="parent"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment