image: introduce sizing
Unify corner radius and icon size configurations under a new sizing property. This is largely driven by a need to remove the typical half-width icon sizing, as it results in blurry playing indicators in some cases. This also co-incides with a change of parent image icon sizes to 32dp over 28dp. Resolves #415.
This commit is contained in:
@@ -12,6 +12,11 @@
|
||||
|
||||
<declare-styleable name="CoverView">
|
||||
<attr name="cornerRadius" format="dimension" />
|
||||
<attr name="sizing" format="enum">
|
||||
<enum name="small" value="0" />
|
||||
<enum name="medium" value="1" />
|
||||
<enum name="large" value="2" />
|
||||
</attr>
|
||||
<attr name="enablePlaybackIndicator" format="boolean" />
|
||||
<attr name="enableSelectionBadge" format="boolean" />
|
||||
</declare-styleable>
|
||||
|
||||
Reference in New Issue
Block a user