开发者

How do i show the image as selected on touch of a particular image?

I am using image adapter along with grid view to display certain images with caption.

After user touch an image then press a button this image is loaded on the next screen. Right now when a user touch an image it does not show as being selected.

I want to know is there a way to show selected image after a user to开发者_StackOverflowuch a particular image.


Use selector drawable for the ImageView. Add onClickListner to the ImageView and and in Onclick() method change the ImageView state to sleceted (Image with tick mark on top right or something..)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜