开发者

ListView rounded Selector

I have create a listView with rounded cornered background. Now while i select the first item in the listview, the selector shape was not top rounded rect. Likewise while i select the last item in listview, the selector shape was not bottom rounded rect. If i apply rounded rect to the selecto开发者_开发技巧r all listview item selection will be rounded rect shape. So that i want the selector shape to be matched with the listview's rounded rect background.

Please help me to solve this issue.


By default list view is of rectangle shape. But we can overwrite it and give the shape to list items. But as the default shape is rectangle so we can't overwrite that in selector. I did face this problem. But there is no other way to change the list view selector shape. It is android's default feature.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜