Probably the best thing is to write your own layout manager.  It's not hard,
and it takes you down the path of computing the position of your widgets in
a way that is sensitive to the actual screen size (since your layout is
performed in the context of whatever size is given to your layout manager),
and that will respond to changes in that space such as when an IME is
displayed (since your layout code is executed by a call from the system,
which is can then call at a later time when something has changed).

On Sun, May 3, 2009 at 10:10 PM, Sheepz <[email protected]> wrote:

>
> but how do I implement overlapping with a relative layout? negative
> values?
>
> On May 1, 7:44 pm, "Mark Murphy" <[email protected]> wrote:
> > > i knew it was a bad idea to use it the second i used it...
> > > The reason i needed it was this:
> > > take a look at this image plz:
> > >http://2.bp.blogspot.com/_NiIT7LXuBv4/SfuFe7dFn9I/AAAAAAAACKo/0neSn1J.
> ..
> > > notice the cards on the middle that areoverlapping?
> > > see the bottom cards that have some sticking up?
> > > how can i do that on frameLayout???
> >
> > Easy -- don't use FrameLayout.
> >
> > That layout screams "use RelativeLayout, by gum!" to me.
> >
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com
> > _The Busy Coder's Guide to Android Development_ Version 2.0 Available!
> >
>


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