paparazzi icon indicating copy to clipboard operation
paparazzi copied to clipboard

Generate resource ids for aapt inline resources

Open dniHze opened this issue 2 years ago • 2 comments

About

Compose vector parser first requests the id of a resource reference. Then, it is used to request XML parser and create ComplexColorCompat from it. In order to add support for this scheme, IDs should be generated for inlined AAPT attributes, and they should be referencable by this id.

Changes

  • Generate resource ids for aapt inline resources;

Tests

  • Adds verify-aapt-compose Gradle test project to verify that vector is rendered correctly;

Screenshots

Before After
image image

Also tested locally on a side project.

Resolves #469

dniHze avatar Jun 24 '22 14:06 dniHze

Didn't check this particular case, but this PR may also resolve #456.

dniHze avatar Jun 24 '22 14:06 dniHze

👋 @jrodbx, may I ask for your review here?

dniHze avatar Aug 01 '22 17:08 dniHze