I'm trying to achieve this result:

What I have right now it is ConstraintLayout which includes three Views: TextView, ImageView, ImageView
Design requirements:
TextView;TextView has fixed size 80dpImageViews should change position horizontally depending on text position inside TextView. See images with case #1/#2 for reference.Is it possible to achieve item 4 in XML? What about programmatically?
[Additional info]
Autosizing doesn't work properly with width wrap_content, see autosizing documentation:
Note: If you set autosizing in an XML file, it is not recommended to use the value "wrap_content" for the
layout_widthorlayout_heightattributes of a TextView. It may produce unexpected results.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With