Problems with ConstraintLayout - ImageView 16:9 inappropriate top margin

前端 未结 5 531
鱼传尺愫
鱼传尺愫 2021-01-29 01:00

I want to build the following layout using ConstraintLayout:

I use this source for layout:


<         


        
5条回答
  •  遇见更好的自我
    2021-01-29 02:01

    Based on answers and comments posted in reply to this question and considering the fact constraint-layout v1.1.0 is still in beta, the best solution at this moment would be to use app:layout_constraintVertical_chainStyle="packed":

    
    
    
        
    
            
    
            
    
            
    
        
    
    

提交回复
热议问题