imageview

How to get TextView reference from a custom ImageView?

I would like to ask if there is any methods to get a View from another View. My case is that: I have a custom ImageView call MyImageView. and my layout is that: FrameLayout: MyImageView LiearLayout: LiearLayout: TextView LiearLayout: TextView I have some code in MyImageView and I would like to e...

Why are there extra pixels around my Android GridView?

I have a GridView in my Android application that has a number of ImageViews in it. The space on my screen is limited and I want the images to take up as much of the available space as they can. Unfortunately, the GridView always leaves 5 pixels of empty screen space around the outside edge of the ImageViews (the space between ImageViews ...

change the position of a bitmap where ever i touch on screen.

hello guys, I have a large image on the screen and I want to display a small image on that image where I touch the screen. but I do not know how to change the position of the image when I touch on the screen and the small image must display where ever I touch on screen. any suggestions or hint will be appreciative. thanks ...