Re: [android-developers] systemUiVisibility is a global flag across apps?

2012-04-27 Thread Mark Murphy
On Thu, Apr 26, 2012 at 10:32 PM, Agus agus.sant...@gmail.com wrote: As soon as I throw a dialog within activity that has setSystemUiVisibility set to HIDE_NAVIGATION,  that flag got cleared. Is that the expected behavior? Beats me, sorry. -- Mark Murphy (a Commons Guy)

Re: [android-developers] systemUiVisibility is a global flag across apps?

2012-04-27 Thread Dianne Hackborn
It's more complicated than that. Each window can make a request fot the system UI visibility, but since there is only one system UI at some level this is global. The top-most application gets to control it. That is why there is:

Re: [android-developers] systemUiVisibility is a global flag across apps?

2012-04-27 Thread Agus
Hi Dianne, Why is the systemUiVisibility for the activity window not get reset when the dialog get dismissed? -Agus. On Fri, Apr 27, 2012 at 11:12 AM, Dianne Hackborn hack...@android.comwrote: It's more complicated than that. Each window can make a request fot the system UI visibility, but

Re: [android-developers] systemUiVisibility is a global flag across apps?

2012-04-27 Thread Dianne Hackborn
They do get cleared. So if you turn on low profile, and the user does something in the nav bar or system bar to take it out of low profile, you will get a callback about the change and it will be cleared from your window. Otherwise it would keep trying to go back to low profile mode. On Fri,

[android-developers] systemUiVisibility is a global flag across apps?

2012-04-26 Thread Agus
Hi, I am wondering if systemUiVisibility flag set via setSystemUiVisibility is a global flag across apps? -Agus. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

Re: [android-developers] systemUiVisibility is a global flag across apps?

2012-04-26 Thread Mark Murphy
On Thu, Apr 26, 2012 at 8:07 PM, Agus agus.sant...@gmail.com wrote: I am wondering if systemUiVisibility flag set via setSystemUiVisibility is a global flag across apps? No. You only affect your app with that flag. -- Mark Murphy (a Commons Guy) http://commonsware.com |

Re: [android-developers] systemUiVisibility is a global flag across apps?

2012-04-26 Thread Agus
Thanks Mark, As soon as I throw a dialog within activity that has setSystemUiVisibility set to HIDE_NAVIGATION, that flag got cleared. Is that the expected behavior? -Agus. On Thu, Apr 26, 2012 at 5:14 PM, Mark Murphy mmur...@commonsware.comwrote: On Thu, Apr 26, 2012 at 8:07 PM, Agus