[android-developers] Re: why 480*320 png doesn't fit on landscape full screen

2009-05-22 Thread Dianne Hackborn
What are you trying to do? You can't assume your content area is going to be an exact pixel sizes, the status bar may have slightly different heights on some devices, in the future there will be different screen sizes, etc. If you want to have a background that doesn't stretch and don't mind it g

[android-developers] Re: why 480*320 png doesn't fit on landscape full screen

2009-05-22 Thread zeeshan
well, i removed the title bar and this make my image a bit large but it still smaller in width. i suppose this is because of status bar now :) what resolution i need to have to fit my image on full screen if i keep my status bar? On May 21, 4:56 pm, "bwilliam...@gmail.com" wrote: > Do you hav

[android-developers] Re: why 480*320 png doesn't fit on landscape full screen

2009-05-21 Thread bwilliam...@gmail.com
Do you have a title bar? That takes up space. So does the status bar (the one that shows time, signal, battery life, notifications, etc). On May 21, 6:20 am, zeeshan wrote: > Hi Experts, > > i am trying to display 480*320 image in fill_parent width and height > but it doesn't fit on full scree

[android-developers] Re: why 480*320 png doesn't fit on landscape full screen

2009-05-21 Thread zeeshan
well, i am not using any margin or padding. please take a look on my code below: http://schemas.android.com/apk/res/ android" android:layout_width="fill_parent" android:layout_height="fill_parent" > ImageView imageView; imageView=(ImageView)findViewById(R.id.Image); InputS

[android-developers] Re: why 480*320 png doesn't fit on landscape full screen

2009-05-21 Thread Robert Green
It depends on your layout. probably the parent container is what is too small somehow. If you try putting that image into an empty frame or absolute layout, it'll probably fill it right up. Check for margins, padding or other things that could make the container in the layout be smaller than yo