Custom scrollbar for listview

前端 未结 4 1990
南方客
南方客 2021-01-16 04:01

I have a task to create a custom scrollbar for list view and to my knowledge the way you can customize your scrollbar is very limited on android. Is it possible to achieve e

4条回答
  •  星月不相逢
    2021-01-16 04:50

    Create these two xml file in drawable

    scrollbar_vertical_thumb.xml

    
    
        
    
        
    
    
    
    

    scrollbar_vertical_track.xml

    
        
         
            
    
    

    Use these two xml file in list_view.xml

    list_view.xml

    
    

提交回复
热议问题