Page 1 of 1

How to hide top-bar on Android

Posted: 17 May 2023 13:11
by sanmool
Hi,

Image
https://yourimageshare.com/ib/VXJhYSJxEg
I played a video on Android device. but I could not hide the top-bar(yellow-boxed area on attached image) where the device shows date, vibrate, wifi, battery of Android device.
I did the followings

Code: Select all

m_mp = libvlc_media_player_new( m_libvlc ); libvlc_set_fullscreen(m_mp,true); libvlc_toggle_fullscreen(m_mp);
But it did not work. How could we hide the top-bar of android device while playing movie?
Thanks.

Re: How to hide top-bar on Android

Posted: 22 May 2023 07:17
by Aza
You are developing and Android app, right? If so: https://developer.android.com/develop/u ... /immersive

Re: How to hide top-bar on Android

Posted: 30 May 2023 19:39
by sanmool
Thank you for the link.