How to center the elements in ConstraintLayout

后端 未结 6 2039

I am using ConstraintLayout in my application to make applications layout. I am trying to a create a screen wheren one EditText and Button

6条回答
  •  难免孤独
    2020-12-07 10:19

    you can use layout_constraintCircle for center view inside ConstraintLayout.

    
            
        
    

    with constraintCircle to parent and zero radius you can make your view be center of parent.

提交回复
热议问题