Remove Actionbar from android app #19338
-
I'm trying to remove the actionbar from my android app but having no success.
I have tried to use the below without success And the below
Even in full screen mode the title/action bar does not hide |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Hey @ashah7, Thank you for your questions. I am not sure, if works with the recent versions of Android, but you can set your app to full screen like this:
You can also play around with the |
Beta Was this translation helpful? Give feedback.
-
sadly this doesn't seem to work, on Android 15,14. I was using full screen anyway using the below code.
Even for a default android new built app the title/action bar does not hide. I'm considering this could be a bug |
Beta Was this translation helpful? Give feedback.
-
So I started a brand new demo app using .net 9 and started it using a visual 2022 emulator on one of the phones (phone_m-dpi_3_2in) and put in the above code an the title bar is still showing. When I close uno and open a normal browser it doesn't show). |
Beta Was this translation helpful? Give feedback.
-
thanks all I managed to fix it once you guys told me it was called the "navigationbar" and not "actionbar" d'oh
|
Beta Was this translation helpful? Give feedback.
@ashah7 I see! I think you mean the
NavigationBar
which showcases the title?Sorry if I misunderstood your original question, those are two separate parts. You can find the
utu:NavigationBar
in your MainPage (or any other pages) and either remove it, or disable it.For example: https://github.com/morning4coffe-dev/recurrents/blob/d108142eadac83e27301dbcf26256138797836c2/src/Recurrents/Presentation/HomePage.xaml#L70C12-L70C29. Let me know, if this helps.