Android Table Layout Alignment

前端 未结 3 913
南方客
南方客 2021-02-08 05:14

I am using Table Layout to display data as shown below. \"enter

What i want to do

3条回答
  •  面向向阳花
    2021-02-08 05:57

    The easiest way I can think of is to wrap each TableRow content with a LinearLayout like this:

    
    
            
    
                
    
                    
    
                    
                    
                
            
    
            
    
                
    
                    
    
                    
                    
                
            
    
            
    
                
    
                    
    
                    
                    
                
            
    
            
    
                
    
                    
    
                    
                    
                
            
        
    

    And this is the result:

    layout

    Hope I correctly understood your requirements.

提交回复
热议问题