Custom TableLayout with multiple TextViews in rows

前端 未结 2 1217
[愿得一人]
[愿得一人] 2021-01-01 04:32

I want to crate custom TableLayout with rows like this:

TV is for TextView, i.e. I want to add 11 TextViews to the row:

2条回答
  •  感动是毒
    2021-01-01 05:28

    If you want to use the xml Layout for that then try this:

        
                    
                        
                            
                        
                        
                        
    
                            
                            
                        
                        
                        
                            
                            
                        
    
    
                        
                        
                            
                            
                        
    
                        
                        
    
                            
                            
                        
                        
                        
    
                            
                            
                        
                    
                    
                        
                            
                        
                        
                        
    
                            
                            
                        
                        
                        
                            
                            
                        
    
    
                        
                        
                            
                            
                        
    
                        
                        
    
                            
                            
                        
                        
                        
    
                            
                            
                        
                    
    
    

    Hope it will help you. . . And if you want other then xml then let me know. Thanks.

提交回复
热议问题