Comments on: Small guide: how to support immersive mode under Android 4.4+ https://vitiy.info/small-guide-how-to-support-immersive-mode-under-android-4-4/ Programming, architecture and design (С++, QT, .Net/WPF, Android, iOS, NoSQL, distributed systems, mobile development, image processing, etc...) Thu, 21 Jan 2016 20:50:00 +0000 hourly 1 https://wordpress.org/?v=5.4.2 By: Hans William Parra Yañez https://vitiy.info/small-guide-how-to-support-immersive-mode-under-android-4-4/#comment-45951 Thu, 21 Jan 2016 20:50:00 +0000 http://vitiy.info/?p=284#comment-45951 I’m developing an app. In the menu makes me a white bar in place of the navigation bar when the immersive mode active. It is only in the menu, not the rest of the activity. Please help.

]]>
By: Megzus Digital Tech https://vitiy.info/small-guide-how-to-support-immersive-mode-under-android-4-4/#comment-45808 Sun, 28 Dec 2014 14:56:00 +0000 http://vitiy.info/?p=284#comment-45808 Thanks..

]]>
By: Victor Laskin https://vitiy.info/small-guide-how-to-support-immersive-mode-under-android-4-4/#comment-45807 Sat, 27 Dec 2014 15:44:00 +0000 http://vitiy.info/?p=284#comment-45807 Im talking about immersive mode variation when status bar is visible – picture 4 (figure 1) in this guide: https://developer.android.com/training/system-ui/immersive.html

]]>
By: Megzus Digital Tech https://vitiy.info/small-guide-how-to-support-immersive-mode-under-android-4-4/#comment-45806 Sat, 27 Dec 2014 06:18:00 +0000 http://vitiy.info/?p=284#comment-45806 Hi Victor, thanks for this information.

By the way what did you mean “there can be no overlay bars on some content”

I’ve attached an image of part of my prototype

]]>
By: Victor Laskin https://vitiy.info/small-guide-how-to-support-immersive-mode-under-android-4-4/#comment-45805 Thu, 25 Dec 2014 12:44:00 +0000 http://vitiy.info/?p=284#comment-45805 No need to set 4.4 limitation. You can use areTranslucentBarsAvailable() function to detect if your device supports immersive mode. And if it does not, you just dont call unimplemented api and everything still works. But you have to take into account that application’s content should be aware that there can be no overlay bars on some devices.

]]>
By: Megzus Digital Tech https://vitiy.info/small-guide-how-to-support-immersive-mode-under-android-4-4/#comment-45804 Thu, 25 Dec 2014 12:09:00 +0000 http://vitiy.info/?p=284#comment-45804 Thanks for this information. Quick question. If one develops and app using this new immersive mode function / feature then what would happen if someone tries to install that app / .apk on a pre Android 4.4 device. Is there a way for the code to work on pre and post 4.4 devices.

I say this as I made an app recently which worked on old and new devices (4.2, 4.4 and 5.0) but then after putting Immersive mode onto the app it now will only install on 4.4 and above devices.

]]>
By: Victor Laskin https://vitiy.info/small-guide-how-to-support-immersive-mode-under-android-4-4/#comment-38392 Tue, 21 Oct 2014 15:00:49 +0000 http://vitiy.info/?p=284#comment-38392 Nice to hear it 🙂

]]>
By: Andy https://vitiy.info/small-guide-how-to-support-immersive-mode-under-android-4-4/#comment-38379 Tue, 21 Oct 2014 13:41:49 +0000 http://vitiy.info/?p=284#comment-38379 Thank you very much… A load of issues came up on Beta testing and you article saved my ass!

]]>
By: Victor Laskin https://vitiy.info/small-guide-how-to-support-immersive-mode-under-android-4-4/#comment-36382 Mon, 13 Oct 2014 06:42:11 +0000 http://vitiy.info/?p=284#comment-36382 Its just boolean flag, which is set to true when you first enter immersive mode. And it shows that you require to keep immersive mode on (when mode is enabled and device supports it).

]]>
By: Vivek https://vitiy.info/small-guide-how-to-support-immersive-mode-under-android-4-4/#comment-36372 Mon, 13 Oct 2014 05:39:59 +0000 http://vitiy.info/?p=284#comment-36372 What is the default value for isApplicationInImmersiveMode ? And where it is changed ?

]]>
By: Victor Laskin https://vitiy.info/small-guide-how-to-support-immersive-mode-under-android-4-4/#comment-20091 Thu, 31 Jul 2014 06:22:25 +0000 http://vitiy.info/?p=284#comment-20091 Im sorry that i cant put full example here as its part of my complex app. If you just want full screen behaviour use WindowManager.LayoutParams.FLAG_FULLSCREEN flag. Also see WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN flag.

]]>