[MENTION=19022]Janette5[/MENTION] [MENTION=16229]alperoz49[/MENTION] any update on this issue? Is this OK now with the changes Fernando suggested that you do in your apps? (= without heading and status bar you should get the immersive full-screen mode)
Can't hide navigation bar on cell phone
Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
-
-
It wasn't a settings issue.
If I started in full screen mode, the navigation bar would pop up after 2 frames and it wouldn't hide again - it would remain visible over part of my game. It was impossible to switch to window mode because the commands in the Android object to hide the navigation / title bars did nothing.
If I started in window mode, the navigation bar would pop up right from the start and the command hide / show navigation bar in the Android object would do nothing.
The reason I don't start in full screen mode is because this issue of the navigation bar popping up exists on my tablet - and has since I started using Fusion. If I start in full screen mode to solve the issue on my cell phone - then I'll have an issue on my tablet - and vice versa.
(My games written in GameMaker Studio 1 go full screen on my cell phone and automatically reposition themselves above my navigation bar on my tablet - and I'm not doing that - the software is.)
-
So if I read you correctly the changes made by Fernando create a problem that can't be solved either by other settings or actions in your application, correct?
-
Yes.
In 292.10 - The navigation bar pops up when I touch the screen and doesn't go away again - on my cell phone.
The command show / hide navigation bar doesn't work on my cell phone.
The command show / hide title bar doesn't work on my cell phone.In versions prior to 292.8 - these commands worked correctly. They didn't work correctly in 292.8 either - but I had the opposite issue - it worked on my cell phone but not on my tablet.
-
[MENTION=19022]Janette5[/MENTION] [MENTION=16229]alperoz49[/MENTION] any update on this issue? Is this OK now with the changes Fernando suggested that you do in your apps? (= without heading and status bar you should get the immersive full-screen mode)
Hi Yves,
1-) Navigation bar still cannot be always hidden. I observed more it acts this way :
if I set an action to hide the navigation bar within the event editor (always -> hide navigation bar) the frame starts with no visible navigation bar.
Whenever I click on an object or section on the screen, actually I am not clicking on the object or the section but on the frame itself and this forces navigation bar to react my tap. The first tap always forces the navigation bar to pop up.
Then the navigation bar wants to hide because of the event I set and I have only a few seconds to tap on object/section before the navigation bar goes down again. if it goes down (it does in few seconds) then my first tap again forces navigation bar to pop up again.Before the update, it never showed but when I set always-> hide navigation bar so my tap is not recognized to control navigation bar. Now cannot be hidden forever.
I don't know what causes this because my settings are exactly the same. I tried Fernando's suggestions but no good.
2-) I also mentioned that Admob was not showing correctly after update. I resolved that :
before the update, I was showing the Admob object in a second layer. (in the past it was not showing when I put it in the same layer) Now I once again show it in the same layer with the interface and there are no issues.
As a workaround, I don't hide the navigation bar but instead, I always show it. It makes more sense for my apps but could be a huge problem on games that require the whole screen and lots of tapping.
-
A game should use fullscreen theme from beginning which is done setting heading OFF and Display Status bar OFF, starting this way will use the fullscreen theme + entering in immersive mode, this was recoded entirely to make 100% usable by user, if user start from heading ON and Display Status bar ON (this will use a device action bar theme) but can entered in immersive mode as per commands
[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]* Start of Frame
Android object : Hide action/title bar
Android object : Hide Navigation bar
AndroidPlus : Set Inmersive mode to 1[/FONT]
[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif][/FONT]This will make sense and comply with the google rule
Please login to see this attachment.
in a bit I will publish the new approach for handling this which merely require to add a new action, this change is done since you should not entered in immersive and fullscreen mode simply by hiding the nav bar, other user will not have the feature of hide and show bar as intended for regular application and was not guarantee to work in all cases, that why the need to be recode as intended, remember the runtime is leaving behind device under 14 which at that time handling the fullscreen and nav bar in a totally different way.
About some users mention that when showing AdMob; interstitial, reward video , GPG objects, dialog have the navigation bar showed this is totally correct since the OS understand that user may cancel theses operation and it shows the nav bar to allow user to do that using back button. This does not happen in chartboost since they keep it full control and you can only cancel pressing the X.
Please let me now if you want to participate in the beta of this new mode.
-
I'm also having trouble with this: the navigation bar pops up to stay, even though I tell it to hide. I have tried to tell it to hide in many different ways too, by "Always", and by any touch... Can't remember all of the ways I've tried atm, but have been tinkering around with this a few days now - testing to "dim navigation bar" instead, testing to combine "dim.." and "hide.." but instead the navigation bar either covers the bottom of my game(game-breaker in my case), or squeezes (resizes) the screen from bottom up for the space of the navigation bar(done with using only "dim..", which is the best solution for now, but it is a bit annoying for my game-play to have those buttons available during the play).
What I have noticed while testing is that the navigation bar does hide, but as soon as I touch anywhere on the screen it shows up again. It is as if the first touch after that the navigation bar has hidden, is telling it to show itself again..
When testing, I'm exporting the game as an Android version 7.1 APK with API 25, running the game on a Sony Xperia XZ Premium in Android v. 9.
PS: Noticed that sometimes I can work my way around the issue in-game, by having the "Resume" button of my pause screen attempting to "hide the navigation bar", which will only work until next touch. However, sometimes when I tab out of the window - leave the app in the background and return to it, this can remove the navigation bar.
-
standard version you need to start from fullscreen or regular theme
you have not immersive mode in standard version
-
Also, make sure you use the build 292.11, available as beta for 1 day. It fixes an issue.
-
I tested beta 292.11:
Tried a variety of settings with the game not maximized on boot up - which all resulted in the navigation bar still popping up.
Ticking the box - maximized on boot up and not having any other setting resulted in the game opening with navigation bar and title bar showing.
Unable to hide them - any attempt to hide them resulted in the navigation bar popping up like before. However, I could play the games minimized without interference and the game displayed correctly although with the navigation bar and title bar showing. I only tested this on my phone, not on my tablets.
Ticking the box - maximized on boot up and setting immersive mode to on:
Huawei Phone - opened full screen, remained full screen and I could play the game no problem.
Tablet with Android 4.2 - opened in window mode, and I could play the game no problem (navigation and title bar showing) - but game positioned correctly between them.
Tablet with Android 4.4 - opened in full screen and I could play the game no problem.You no longer have the feature in Fusion to switch between full screen and window mode at all. This was completely removed by these changes
Hide / Show Navigation bar does not work correctly.
Hide / Show Title / Action bar does not work correctly. (In immersive mode it will show it briefly - so I guess that would be deemed to work correctly - it's just not permanent like it was before.)I don't know how people without the developer version would be able to use the Android module without this feature and it doesn't seem fair to me to take something away from everyone and only give it back to a select few.
-
Thank you for your tests.
QuoteI don't know how people without the developer version would be able to use the Android module without this feature and it doesn't seem fair to me to take something away from everyone and only give it back to a select few.
I agree, I allowed it only because it was supposed to be not mandatory. This will be fixed.
-
Quote
Ticking the box -
maximized on boot up and not having any other setting resulted in the game opening with navigation bar and title bar showing.Unable to hide them - any attempt to hide them resulted in the navigation bar popping up like before. However, I could play the games minimized without interference and the game displayed correctly although with the navigation bar and title bar showing. I only tested this on my phone, not on my tablets.
can you explain this more, what is this box value you are referring? are you sure fullscreen mode is set correctly?
QuoteYou no longer have the feature in Fusion to switch between full screen and window mode at all. This was completely removed by these changes
Hide / Show Navigation bar does not work correctly.
Hide / Show Title / Action bar does not work correctly. (In immersive mode it will show it briefly - so I guess that would be deemed to work correctly - it's just not permanent like it was before.)this never existed during runtime, can you explain this more.
QuoteHide / Show Navigation bar does not work correctly.
how are you using this, and what you expect? it show and hide here normally, now if you want this to be immersive you need to set immersive.
QuoteI don't know how people without the developer version would be able to use the Android module without this feature and it doesn't seem fair to me to take something away from everyone and only give it back to a select few.
Basically there are two type of layout to use
Game fullscreen
Application regular theme (you can not show action bar with display status bar hide)I did not take anything away the only correction I did was that I don't show action bar when display status bar is hidden as REQUEST of Google as mentioned in above post. even though I let this to be done manually for developer version.
-
I don't know if full screen is set correctly - I've never used it before. The only button I could find was under Game Properties / Window: Maximized at boot up - that is the button I ticked.
I've always had my Android games do the following: They open in window mode* - and then there's a button you can click - which was linked to the hide navigation bar button - and if you clicked that - then the navigation bar and title bar would disappear and the game would go full screen and remain that way - it sometimes messed up if returning from pause and I used the Android + object to set that back i.e. game returning from pause + global value set - hide the navigation bar. I never used the hide title bar button - as hiding the navigation bar also hid that - on my devices. This feature up to 292.7 worked great - I used it myself to switch between full screen and window mode constantly when I was testing or playing my games. I've never had a complaint or comment about this from anybody playing or testing my games either.
*On a tablet, the navigation bar would keep popping up on my test tablet if I tried to hide it or if I opened the game in full screen - so doing it this way, solved the problem (I removed the button if the device was a tablet).
The situation as I tested it this morning was:
If I don't tick the button "maximized at boot up" - I still have the exact same problem that the navigation bar pops up and stays open over my game (which makes the game unplayable) - this happens with all my games.
I I tick the button "maximized at boot up" - and if I don't choose immersive mode - everything works correctly but the navigation bar and title bar always displays i.e. I can't go full screen. It also means that people who don't have the developer version won't be able to release their games in full screen mode (I would not recommend they do - as the navigation bar pop-up will cause an issue for some players - depending on their devices - and they don't have the option to set immersive mode on.)
If I put in the command "immersive mode" then I can go full screen - everything works correctly, but the game has to stay in full screen immersive mode.
-
Quote
I don't know if full screen is set correctly - I've never used it before. The only button I could find was under Game Properties / Window: Maximized at boot up - that is the button I ticked.
Oh Sorry now I understand this does not work in mobile, in android you have to handle only these two features to obtain fullscreen.
Please login to see this attachment.
QuoteI've always had my Android games do the following: They open in window mode* - and then there's a button you can click - which was linked to the hide navigation bar button - and if you clicked that - then the navigation bar and title bar would disappear and the game would go full screen and remain that way - it sometimes messed up if returning from pause and I used the Android + object to set that back i.e. game returning from pause + global value set - hide the navigation bar. I never used the hide title bar button - as hiding the navigation bar also hid that - on my devices. This feature up to 292.7 worked great - I used it myself to switch between full screen and window mode constantly when I was testing or playing my games. I've never had a complaint or comment about this from anybody playing or testing my games either.
Is not the correct setting that why you were getting this behavior, indeed you are mention here the cause I did recode this.
QuoteIf I put in the command "immersive mode" then I can go full screen - everything works correctly, but the game has to stay in full screen immersive mode.
this is the mode android came up to solve the nav bar behavior in order to keep fullscreen layout (available from api 19) and not to show the bar unless user need it in case of an user operation; filling a control, with keyboard show and have control on it and hide keyboard manually, or anything that expected to be cancelled like, a purchase, dialog, admob inters/video, there is not other way and it is not correct being switching mode, that cause a performance issue since you are making the OS observe this, you may notice the FPS changes when the nav bar is showing this speed change is because OS(NOT Runtime) is checking for the nav bar status, imagine making a scroll game using this concept will be very bad.Something that you can be sure, and now you can test, when you are coming from pause, other dialog, you always have the correct nav behavior.
As mentioned by Yves, in previous post, the immersive mode command will be added in Android Object too for standard fusion users.
-
I was doing the full screen wrong. I retested with the status bar:
I have to tick the block "Display Status Bar" for it to work on my Android 4.2 tablet. Any setting that opens the game, with that not ticked, results in the navigation bar popping up over the game every time you touch the screen. I tried with immersive on and with immersive off - it didn't matter. This is not new - this has always been the situation from when I started using Android module on that tablet.
If I have the block ticked "Display Status Bar" and run it on my cell phone with immersive mode set - it ignores that setting anyway and opens it full screen.
Based on "Display Status Bar" is ON. Heading is OFF. Immersive mode is ON.
The game will open / play correctly in full screen.
If I create a toggle for show / hide Navigation Bar - then only the navigation bar will show - the game will reposition correctly.
But the top bar that has the time, battery life, signal strength etc. remains hidden.If I include show / hide Action / Title Bar in the toggle switch - then the top bar will display as well as the game name & the game will reposition correctly. Is there any way to have the top bar display without having the game name display as well?
-
I will review google documentation to see if this is possible without bring any issue back.
============================================================
I did some changes and I test here from 4.4.3 to 9.0, I think this was also one of the problem in the past, if user understand that setting immersive mode and show display status bar. the bar will be overlapping partially the top of the frame and they are Ok with that I can post this changes (this can not be change, this is something from OS)
Display Status Bar ON and Immersive Mode OFF
Please login to see this attachment.
Regular Theme Layout is set normally and not covered by status bar.Display Status Bar ON and Immersive Mode ON
Please login to see this attachment.note status bar overlap the top of the frame
Status Bar OFF and Immersive ON
Please login to see this attachment.
interesting in test for android device 4.2, let me know to send a PM with the new runtime
-
Hey all,
with 292.14 everything works smoothly !!! I can manage to hide the navigation bar all the time. Thanks.
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!