Hi, I'm currently investigating the possibility to write a custom ROM for our own ICS based OEM device. This ROM should (according to UX design) contain floating back/home buttons (so they are rendered ON TOP of the activity). This custom look and feel of the NavigationBar should only apply for our home grown App's -- any additional App should get the normal navigation bar or at least the layout to be "pushed" up (since 3rd party apps don't know about the dead zone below the custom navbar).
I have been experimenting with changing the WindowManagerPolicy in combination with the SystemUI Service for this. Which gave me a little space in the screen for a button. I think the nicest way would be to create an additional theme which an application could set to say I want your specific style of NavigationBar. Would there be a way to use such a (proprietary) theme that only triggers policy behaviour? Note: Unfortunately the NavigationBar code is hard to comprehend since it is bloated into several huge classes. I get the feeling it is rushed in (you can see it in code style and some comments are not fixed). Also the interface to turn the whole bar on/off/low-profile is done through the View class.... This doesn't look like a proper place to control for a feature that only appears in the Decor view. @Android devs: Is there any refactoring planned to make this somewhat nicer? -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting