How to add different weight to ConstraintLayout views

前端 未结 3 972
死守一世寂寞
死守一世寂寞 2020-12-08 06:08

In my layout, I have a ConstraintLayout containing two TextView elements. They are currently the same size, but I would like them to have different

3条回答
  •  轮回少年
    2020-12-08 06:56

    After some research I fount other solution with guideline view.

    
    
    
    
    
    
    
    
    
    
      
    

    here is the screen shot for above layout. you have to just drag the guideline view.

提交回复
热议问题