开发者

how to change image when checking and unchecking the checked textview in android?

I am 开发者_JS百科implementing the listView containing checked TextViews.

Problem is when I check one list item one image should be display and when I unchecked another image should display.


U could use a checkbox in listViwe and customize checkbox to display wat image when checked and unchecked.Try this:android:button="@drawable/selecter"..Here selecter s an xml file where u can say whivh image to be displayed at different.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜