GridView item list selector for multiple items not working in Android

后端 未结 5 816
粉色の甜心
粉色の甜心 2021-01-08 01:30

I want to draw selector on long press as shown in the picture. When I do long press on one item, the CAB menu is activated. But the list selector indicator goes off once aft

5条回答
  •  有刺的猬
    2021-01-08 02:12

    I m suggested to implement custom drawables as per your requirement.In long press listener ,you can apply it whatever state you are being required. This is one of the way to write code from our own scratch.

    https://github.com/rameshkec85/Example-Android-CustomDrawableStates

提交回复
热议问题