Given that you are posting this to both android-developers and
android-platform, I have no idea from what context to answer this.  I'll
answer from the android-platform context:

Typically you would customize the WindowManagerPolicy to do this kind of
thing.  Look at PhoneWindowManager, and you can see how it decides to
position the status bar at the top of the screen and put applications below
that.  Also in cupcake the IME windows that are at the bottom.  You can just
do the same thing to carve out more of the screen.  Of course if you are
doing this on a normal HVGA screen, you will need to do a lot of special
stuff to ensure that existing applications can still use all of the space
they need.

On Wed, Feb 4, 2009 at 10:16 PM, Dan Raaka <[email protected]> wrote:

>
> [x-posted to platform/developers groups]
>
> Can applications be limited to use certain area of the screen ?
>
> eg :
>
> ----------------------------
> |                          |
> |       blank           |
> |                          |
> | ------------------------ |
> |                          |
> |       my app        |
> |                          |
> ---------------------------
>
> for example, I want to mandate application to use only bottom half of
> the screen? but the application need not know this !! It could use a
> scroll bar in order to compensate for this reduced height !!
>



-- 
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.  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