Auxio/app/src/main/res/values/attrs.xml
Alexander Capehart b93a512bf7
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.
2023-05-28 20:00:52 -06:00

30 lines
No EOL
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- This is for HomeFragment's AppBarLayout. Explanations for these can be found there. -->
<item name="home_song_recycler" type="id" />
<item name="home_album_recycler" type="id" />
<item name="home_artist_recycler" type="id" />
<item name="home_genre_recycler" type="id" />
<item name="home_playlist_recycler" type="id" />
<integer name="anim_fade_enter_duration">200</integer>
<integer name="anim_fade_exit_duration">100</integer>
<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>
<declare-styleable name="IntListPreference">
<attr name="entries" format="reference" />
<attr name="entryValues" format="reference" />
<attr name="entryIcons" format="reference" />
<attr name="offValue" format="reference" />
</declare-styleable>
</resources>