Assigned
Status Update
Comments
st...@google.com <st...@google.com>
st...@google.com <st...@google.com> #2
Can you attach / share a project that reproduces the issue?
No update yet.
Can you attach / share a project that reproduces the issue?
Description
Sadly, VectorDrawable doesn't support text.
What I request is something that could support it in some way:
Instead of putting the text into the VectorDrawable, have some placeholder rectangle that we could fill with text at runtime.
This can also help with translations.
Of course, it should have some special customizations and handling, such as what is the max lines to show, auto-resize, font to choose, etc...
Maybe we could provide a TextView that will auto-position and auto-size its bounds compared to the VectorDrawable.
Maybe we could have a layout that has the ImageView and a TextView, that the TextView will have a special attribute (used by the layout) to tell in which rectangle (or id of the rectangle as specified in the VectorDrawable) to fit into.