Skip to content

Conversation

nikclayton
Copy link
Contributor

API 24 devices (at least, possibly some newer API levels) don't want android:background to be a color statelist, crashing because the XML resource inflater expects to find a drawable instead of a colour.

Work around this by setting the colour to the surface colour, and using the statelist as the background tint.

API 24 devices (at least, possibly some newer API levels) don't want
android:background to be a color statelist, crashing because the XML
resource inflater expects to find a drawable instead of a colour.

Work around this by setting the colour to the surface colour, and using
the statelist as the background tint.
@nikclayton nikclayton merged commit af73d70 into pachli:main Jul 15, 2025
27 checks passed
@nikclayton nikclayton deleted the manage-accounts-crash branch July 15, 2025 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant