Scaling vector graphics in ConstraintLayout

Viewed 1191

This is a "how-to" question.

I have an android activity with 6 ImageView objects in a ConstraintLayout. I would like them placed in a horizontal row, always using the full width of the screen. For larger screens, instead of blank spaces between the ImageViews I would like the ImageViews to scale up, maintaining their aspect ratio. I am using vector resources for the content of the images.

How can this be done?

1 Answers
Related