Add ripple to history items (#5341)

- Replaces margin with padding.
- Adds the drawable ripple background.
- Changes height to match the padding so it doesn't look odd.

(cherry picked from commit 3d58b780628733d78f4867055fe77eb7f7530f50)
This commit is contained in:
Soitora 2021-06-08 04:40:48 +02:00 committed by Jobobby04
parent 65afc99ead
commit 341543da24

View File

@ -4,11 +4,12 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/holder" android:id="@+id/holder"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="80dp" android:layout_height="96dp"
android:layout_marginStart="16dp" android:paddingStart="16dp"
android:layout_marginTop="8dp" android:paddingTop="8dp"
android:layout_marginEnd="8dp" android:paddingEnd="8dp"
android:layout_marginBottom="8dp" android:paddingBottom="8dp"
android:background="@drawable/selectable_item_background"
android:orientation="horizontal"> android:orientation="horizontal">
<ImageView <ImageView