[android-developers] Re: flag_fullscreen + windowNoTitle == button focus bug

2009-07-14 Thread Brady
Hi Dianne, thank you for your reply. I wonder if dynamically positioning the top buttons onscreen in the OnCreate would help this timing issue? For now I guess I lucked out because I don't use the IME in this screen, but thank you for pointing this out. I can see why this might be a problem consi

[android-developers] Re: flag_fullscreen + windowNoTitle == button focus bug

2009-07-13 Thread Dianne Hackborn
Note this this will break your interaction with the IME, if it is displayed. What is going on is that during the transition to your app, the status bar is still visible, so if you have something at the top of the UI that is in focus it will move your window to make it visible behind the status bar

[android-developers] Re: flag_fullscreen + windowNoTitle == button focus bug

2009-07-13 Thread Brady
Hey Ward, looks like exactly the same problem! Does my workaround fix your issue? Brady On Jul 13, 1:02 pm, Ward Willats wrote: > Me too. Can't believe you and I are the only two who see this. > > http://groups.google.com/group/android-developers/browse_thread/threa... > > -- Ward > > At 12:50

[android-developers] Re: flag_fullscreen + windowNoTitle == button focus bug

2009-07-13 Thread Brady
This looks like a total hack but by adding this line getWindow().setFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS, WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS); to the code I don't have the problem anymore. This workaround kind of makes sense assuming something was being drawn out

[android-developers] Re: flag_fullscreen + windowNoTitle == button focus bug

2009-07-13 Thread Brady
Hi, just a quick note, bug.java was really named StatusBarBug.java like my project. Cheers, Brady On Jul 13, 12:46 pm, Brady wrote: > Hi guys, > > I've found an irritating bug that I could please use some help with. > > My application is styled to show no title (android:windowNoTitle) and > in