image: refactor views

Refactor StyledImageView and ImageGroup into a new class called
CoverView.

This new view is more sensibly designed and should be capable of
handling non-square album covers when implemented.
This commit is contained in:
Alexander Capehart
2023-05-28 15:29:38 -06:00
parent 10d05b1f26
commit b7c15e0cc5
30 changed files with 517 additions and 611 deletions
+3 -3
View File
@@ -10,10 +10,10 @@
<integer name="anim_fade_enter_duration">200</integer>
<integer name="anim_fade_exit_duration">100</integer>
<declare-styleable name="StyledImageView">
<declare-styleable name="CoverView">
<attr name="cornerRadius" format="dimension" />
<attr name="staticIcon" format="reference" />
<attr name="useLargeIcon" format="boolean" />
<attr name="enablePlaybackIndicator" format="boolean" />
<attr name="enableSelectionBadge" format="boolean" />
</declare-styleable>
<declare-styleable name="IntListPreference">