开发者

how to display text on list view when click on the list view in android

i have list view which is generated from adapter it contain two images one when it is in normal form and one when the list view is click. my problem is that when click on list view the image will change but the text开发者_如何学运维 written on list view in normal form will not display on new image please help. thanks


You need to set attr_android:duplicateParentState to true so your TextView receive state changes from it's parent.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜