Show large image

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Show large image

Postby Bulldog » Thu Oct 02, 2008 12:46 pm

Hi,
i want to show a large image (e.g. 600x600px). So, its larger than the display. But i don't want to crop or fit it, i want to scroll left/right and up/down to see the image.
How can i do that?
Bulldog
Freshman
Freshman
 
Posts: 9
Joined: Wed Sep 24, 2008 1:54 pm

Top

Postby MrSnowflake » Thu Oct 02, 2008 2:07 pm

I see 2 sollutions here (but haven't tried any):
1) Set the ImageView size to the size of the image
2) Use a webview to load the image.
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Postby andreleitao » Fri Apr 17, 2009 6:05 pm

Are you using canvas for it?
andreleitao
Experienced Developer
Experienced Developer
 
Posts: 70
Joined: Tue Mar 10, 2009 9:56 pm
Location: Recife - Brazil

Postby wiederke » Wed Apr 22, 2009 1:00 pm

Hi,

put your ImageView in a ScrollView.


Cheers,

Torsten
wiederke
Experienced Developer
Experienced Developer
 
Posts: 72
Joined: Mon Mar 02, 2009 6:46 pm
Location: Germany

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 5 guests