ImageViews in 480x800 resolution(WVGA800)

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

ImageViews in 480x800 resolution(WVGA800)

Postby Zeba Momin » Tue Jul 20, 2010 10:44 am

Hi all,
In my layout file i have a view as:
Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. <ImageView android:id="@+id/iconL" android:layout_width="wrap_content"
  2. android:src="@drawable/logo_application" android:layout_height="wrap_content" />
Parsed in 0.001 seconds, using GeSHi 1.0.8.4

I use 320x480 resolution images and run my application on HVGA emulator, i see the above image true to its original size.
Similarly, when i use 240x320 resolution images and run my app on QVGA emulator, i see the image perfectly.
But when i use 480x800 resolution images and run the application on WVGA800 emulator the ImageView is enlarged than the original size of the image even though i have given "wrap_content" as height and width attributes.
Can someone plzzz help me out with this... thank you.
Zeba Momin
Developer
Developer
 
Posts: 49
Joined: Thu Sep 17, 2009 6:53 am

Top

Re: ImageViews in 480x800 resolution(WVGA800)

Postby Kegelka » Wed Aug 21, 2013 12:05 am

Nice post. Keep posting such needed information. Thank's!
Kegelka
Junior Developer
Junior Developer
 
Posts: 11
Joined: Tue Aug 20, 2013 11:49 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Google [Bot] and 5 guests