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
getting cropped, you can set it to be the background of the window, where it
will be placed behind the status bar / ime / etc.  Longer term that is still
problematic, though, since there will be a variety of physical screen sizes.

On Fri, May 22, 2009 at 2:01 AM, zeeshan <[email protected]> wrote:

>
> 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, "[email protected]" <[email protected]>
> wrote:
> > 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 <[email protected]> wrote:
> >
> > > Hi Experts,
> >
> > > i am trying to display 480*320 image in fill_parent width and height
> > > but it doesn't fit on full screen.
> > > image seems a bit smaller in width.
> >
> > > do i need to change resolution or something else, please advise
> >
> > > thanks
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to