There is no magical thing to do.  You will need to rewrite a lot of code --
for example the way the sliding of the notification panel works will all
need to be rewritten to deal with this.  There is also a good chance that
PhoneWindowManager where it does the layout of the screen is not prepared
for this, as well as various other places.

As of the GB code, the platform has never been run like this, so expect a
variety of at least small problems across the framework as things just
encounter a situation they never have before.

On Sun, Mar 6, 2011 at 11:57 AM, samuelhalff <[email protected]> wrote:

> Hi,
>
> I'm trying to get my Gingerbread status bar to move to the bottom of
> the screen. But the framework is different in GB, and I'm quite lost..
> The idea is to quickly access status-bar-added soft buttons on a hard-
> button-less device.
>
> I've read the source code for hours, and found a few intersting lines,
> but havent found anything conclusive. I've yet managed to move the bar
> to the bottom, by changing the systemUI's gravity to BOTTOM
> (statusbarservice.java). That works ok, but of course, nothing else
> does. By that, I mean the rest of the screen isn't working. I can see
> the background image, but all other elements are missing.
> So it seems the architecture is built around the idea that the status
> bar is at the top of the screen.
>
> I'm not hoping for anyone to hold my hand throughout the process of
> changing my framework, but if some generous mind could give me a few
> clues as to how to proceed. Maybe a few hints about which file will
> require my attention. And maybe a general explanation of how the
> system is built around the bar.. Anything will help, after so many
> hours of reading, I'm starting to get dizzy.
>
> I sure hope you understand that I'm willing to take the time to learn,
> but a little shortcut never hurt anyone.
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>



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

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to