Selector for custom list view “Change ListView background - strange behaviour”

前端 未结 2 1484
名媛妹妹
名媛妹妹 2021-01-17 00:39

I am using this tutorials and I want to add selectors for this list view. I tried some codes but it doest work. How can I do it.

I used code as list_selector.xml

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-17 01:38

    Check the following link. here i mentioned a complete code to use listview properly. Using this we can achieve any listview behavior. We can embed animation also.

    Change ListView background - strange behaviour

    Hope this help :)

提交回复
热议问题