How to include constraint layout to another constraint layout and set constraint between each

后端 未结 5 1620
伪装坚强ぢ
伪装坚强ぢ 2020-12-13 16:44

I\'m using constraintLyout v 1.0.1.

I would like to include in my xml a sub ConstraintLayout corresponding to a part of my global layout (which itself is a Constrain

5条回答
  •  伪装坚强ぢ
    2020-12-13 17:26

    You could avoid the ConstraintLayout constraints at the include item. I just it as it is.

    MainActivity Layout file:

    
    
    
        
    
        
    
        
    
    
    

    ToolBar Layout file:

    
    
        
    
            
    
        
    
    

提交回复
热议问题