lundi 25 juillet 2016

Resizeable widget in ConstraintLayout

I've got a ListView item with three components aligned horizontally:

  1. an ImageView containing an icon
  2. a TextView with a headline
  3. another ImageView wit a status icon

Currently, I have them arranged via a RelativeLayout and my TextView is 'elastic'.

Is it possible to create the same layout in ConstraintLayout? Basically, what I'm asking is if I can create 2 fixed-length constraints instead of percentages.

Aucun commentaire:

Enregistrer un commentaire