thank you so much that last post just answered all my questions
On Aug 17, 12:45 pm, Dianne Hackborn <[email protected]> wrote:
> Like I said, set up your UI so you have your own custom view placed where
> you want, and the size of the view is the size you are about. You can find
> out about the size changing with View.onSizeChanged(). (And if this is just
> a leaf view, not one that is going to position child views, you can just
> derive from View.)
>
> On Mon, Aug 17, 2009 at 12:02 AM, Aanderson144 <[email protected]>wrote:
>
>
>
>
>
> > then my final question would be what is the best way to return the
> > drawable screen in pixels even if it's in fullscreen mode my app needs
> > to be aware of it's drawable space for zooming in and out of a 800 x
> > 600 bitmap that changes content but stays the same size?
>
> > thanks
>
> > On Aug 17, 1:23 am, Dianne Hackborn <[email protected]> wrote:
> > > It is strongly recommended that you not do anything based on the raw
> > screen
> > > dimensions, but use layout managers to adjust for the screen size. You
> > can
> > > easily write your own layout manager (deriving from VIewGroup) to have
> > your
> > > code run every time it gets a new size.
>
> > > On Sun, Aug 16, 2009 at 8:57 PM, Aanderson144 <[email protected]
> > >wrote:
>
> > > > I am trying to make my display routine reactive to the size of the
> > > > screen in pixels my question is does android.view.Display.getHeight()
> > > > return the displays total size or will it return different values in
> > > > fullscreen and normal views?
>
> > > --
> > > 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.
>
> --
> 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
-~----------~----~----~----~------~----~------~--~---