How to use addView to add view to layout?

后端 未结 4 2206
南笙
南笙 2021-02-18 16:36

I have read probably all posts and documentation but I still can\'t solve this issue.

I want to use addView() method to add view to the existing (running) l

4条回答
  •  北荒
    北荒 (楼主)
    2021-02-18 17:15

    Your linearLayout content is over the parent's View. so you need to use ScrollView. like this:

    
    
    
    
    
    
        
    
        
    
        
    
        
    
    
    

提交回复
热议问题