Using a ListAdapter to fill a LinearLayout inside a ScrollView layout

前端 未结 4 2132
無奈伤痛
無奈伤痛 2020-12-02 06:37

I\'m facing a very common problem: I layed out an activity and now it turns out it should display a few items within this ScrollView. The normal way to do that

4条回答
  •  误落风尘
    2020-12-02 07:01

    Set your view to main.xml onCreate, then inflate from row.xml

    main.xml

    
    
    
            
    
    
    
        
    
        
    
     
    

    row.xml

    
    
    
    
    
    
    
    

提交回复
热议问题