Regarding AbsoluteView being deprecated in 1.5

by Dianne Hackborn » Thu, 30 Apr 2009 04:57:07 GMT


Sponsored Links
 If none of the standard layout managers let you achieve what you want in an
efficient way, you can just write your own layout manager.  This is actually
what you end up having to do anyway if you are going to have a UI that works
correctly (for any different screen size, for changes to the screen
decorations like an IME being displayed, etc), but it is actually probably a
lot easier to do this correctly by just writing your own layout manager than
using AbsoluteLayout.






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

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.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. More than one package in my project on pre 1.5 sdk

Hello

I have a problem since sdk update

first it's aidl I'm not sure if it works, see my response here:

2. how to adjust the window position on the framework layer

Hi,

I am from an OEM and we are doing some android customization work.
What we want to achieve is that for example, there are only two
applications (e.g. contacts and browser) running on the phone. Browser
is currently active, focused and visible to users, and Contacts is
paused, "under" Browser and not visible to users. For some special
cases, e.g, a special key event will trigger it, we want to "move" the
Browser window towards the screen bottom a little bit, for example 100
pixels. And at the moment, we can see part of the Browser window and
part of Contacts window (which is originally covered by the Browser
window and invisible to the user). How can we achieve this?

I took a look at the implementation of WindowManagerService and made
some changes to adjust the mAttrs.y of the top WindowState object in
the mWindows stack. In some cases, it is working and I can see two
windows, but in some cases, for example, if we use Browser and
AlarmClock as test case, it is not working.

Can someone explain to me how Android control which window to draw on
the screen?

Thanks,


Zhinan

--~--~---------~--~----~------------~-------~--~----~

3. How to enable/disable GPRS/EDGE data connection

4. Black Screen problem with graphics update using unlockCanvasAndPost()

5. getting android_id from GoogleLoginServiceBlockingHelper?

6. Location.getBearing vs SensorListener

7. getting android_id from GoogleLoginServiceBlockingHelper?