What is difference between relative and constraint layout?

What is difference between relative and constraint layout?
Answer
Rules remind you of RelativeLayout , for example setting the left to the left of some other view. Unlike RelativeLayout , ConstraintLayout offers bias value that is used to position a view in terms of 0% and 100% horizontal and vertical offset relative to the handles (marked with circle).
 

Tìm kiếm

Back
Top