ui: animate selection

Animate the check mark and background change when a item is selected.

This produces a nicer UX overall. If possible, I'm planning to also
port this to the other indicators in ImageGroup, albeit doing that is
signifigantly harder.
This commit is contained in:
Alexander Capehart
2022-12-05 04:25:09 +00:00
parent a02490ae18
commit f5ec295b2c
6 changed files with 45 additions and 9 deletions
@@ -5,9 +5,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:paddingStart="@dimen/spacing_mid_large"
android:paddingStart="@dimen/spacing_large"
android:paddingTop="@dimen/spacing_medium"
android:paddingEnd="@dimen/spacing_mid_large"
android:paddingEnd="@dimen/spacing_large"
android:paddingBottom="@dimen/spacing_medium">
<org.oxycblt.auxio.image.ImageGroup