2-column TableLayout with 50% exactly for each column

前端 未结 4 1444
醉梦人生
醉梦人生 2020-12-13 07:00

This one puzzles me since my first steps with Android. I can\'t make both columns in a 2-column TableLayout exact 50% each.

Here\'s an example:



        
4条回答
  •  独厮守ぢ
    2020-12-13 07:16

    I would create a table layout Inside a frame layout holding your control. In this example I have two columns layout and I put two ImageView's centered in each column.

        
    
            
                
    
                    
                    
                
    
                
                    
                    
                    
                
    
        
    

提交回复
热议问题