Linked Questions

75 votes
7 answers
179k views

Android Image View Pinch Zooming [duplicate]

I am using code sample from Making Sense of Multitouch for zooming image view. On ScaleListener I added ScaleGestureDetector.getFocusX() and getFocusY()for content to zoom about the focal point of the ...
MobDev's user avatar
  • 1,511
51 votes
4 answers
22k views

How to stretch three images across the screen preserving aspect ratio?

I need to display three same size images (200 X 100) side by side (no gaps) on top of the screen. They should occupy entire width of the screen and preserve aspect ratio. Is it possible to accomplish ...
Peter's user avatar
  • 511
19 votes
4 answers
3k views

looking to implement a wall (GridView?) that goes off-screen and user can touch to move it around

Desired effect I have a bunch of small images that I'd like to show on a "wall" and then let the user fling this wall in any direction and select an image. Initial Idea as a possible implementation I ...
Someone Somewhere's user avatar
8 votes
4 answers
11k views

How to tile and scroll a large image (10000x10000) in android

I am working in a map project in android. It contains larger image of 10000x10000 resolution. Using this image with Bitmap it gives OutOfMemoryError. So I want to tile and scroll this image. When I ...
ankita gahoi's user avatar
  • 1,542
4 votes
3 answers
6k views

scroll an image bigger than the screen and stop at its border on Android

I know how to display an image that is bigger than the screen. That's fairly simple and explained in details here, however, this method makes you able to scroll as far as you want, event if you have ...
Sephy's user avatar
  • 50.3k
0 votes
1 answer
5k views

Android - How to implement Vertical Scroll in an ImageView

I'm creating an app in which on click of listview items I'm showing images. Now the size of those images is generally width:480 and height is variable, most of the time > 800. I'm using ImageView to ...
Harry's user avatar
  • 3
9 votes
2 answers
2k views

CATiledLayer alternative for Android?

For certain picture oriented apps I need to display big pictures and scrollable areas with further detail, once zoomed in. In saw discussions and examples in iOS using CATiledLayer, which seems to do ...
Sebastian Roth's user avatar
1 vote
1 answer
5k views

Move an image dynamically in android

This is the oncreate from my application. @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); ...
James's user avatar
  • 14k
4 votes
1 answer
5k views

Android: Scrollable (horizontal and vertical) ImageView with Buttons overlayed

I want to implement an activity where the only thing you see is a big image, which can be scrolled horizontally and vertically.On Top of that image I want to display buttons, that can be clicked and ...
Pascal Klein's user avatar
  • 24.3k
0 votes
1 answer
909 views

How to set scroll view which expands due to background image on different devices?

In my app I have the main layout, having the linear layout as parent and child is scroll view and inside this scroll view, I have another linear layout. Example would be LinearLayout-> ScrollView-> ...
dan walker's user avatar
0 votes
1 answer
574 views

scrolling large image android

good morning i would like to scroll a large image in my Android app the size of my image is 800 * 3782 px every time i get error of memory the size of the image is 1.7Mb with 72 dpi resolution. this ...
Walid Sassi's user avatar
2 votes
0 answers
557 views

How to improve the performance of ImageView when scrolling?

My app will generate a big Bitmap for pad,(it is about music score), then I use an ImageView to show the Bitmap, since the Bitmap is too long, so I use ScrollView to scroll the ImageView, I found it ...
David Guo's user avatar
  • 1,759
0 votes
0 answers
534 views

How to Create a 2D Map for an RPG Game

I am working on a text RPG game for Android, and would like to create some kind of an area map for the player's reference. I Googled it but was directed to Tiled. I am not trying to create a playable ...
Wolf's user avatar
  • 135
0 votes
0 answers
206 views

Scrolling Image in Image View?

I have an image which has a dimension of about 1200x800.. Now I would like to display it in an ImageView in such a way that the image would not scale down to fit the screen of the device but instead ...
kishidp's user avatar
  • 1,918
0 votes
1 answer
91 views

Draw circles on imageview before it loads and also image has pinch zoom option

I need a Imageview which loads dynamically from server. I have x,y positions where a small circles needs to drawn on the image at those positions. Also this imageview should be having pinch zoom ...
Sai Kiran Pulluri's user avatar

15 30 50 per page