mkvidyashankar Active Member Licensed User Longtime User Apr 1, 2011 #1 Hi How to hide Activity title bar and notification bar above that ?
klaus Expert Licensed User Longtime User Apr 1, 2011 #2 In the IDE, or in he Designer, see below. Best regards. Attachments FullScreenIDE.jpg 33.2 KB · Views: 1,708 FullScreenDesigner.jpg 13.7 KB · Views: 1,472 Last edited: Apr 1, 2011 Upvote 0
M magarcan Active Member Licensed User Longtime User Jul 28, 2011 #3 Can this be done with code?? I've tried this: activity.title.visible = false Click to expand... But it doesn't work. Thanks!! Upvote 0
Can this be done with code?? I've tried this: activity.title.visible = false Click to expand... But it doesn't work. Thanks!!
alfcen Well-Known Member Licensed User Longtime User Jul 29, 2011 #4 >Can this be done with code?? Nope, not programmatically. If you have auto-complete engaged you will see that "activity.title.visible" won't pop up. Perhaps later versions of B4A will be able to manipulate title bar and screen modes. Upvote 0
>Can this be done with code?? Nope, not programmatically. If you have auto-complete engaged you will see that "activity.title.visible" won't pop up. Perhaps later versions of B4A will be able to manipulate title bar and screen modes.
B badal405 Member Licensed User Longtime User Feb 16, 2013 #5 klaus said: In the IDE, or in he Designer, see below. Best regards. Click to expand... Hi Klaus, Very surprisingly i don't have this menu item under project. I am using B4a 2.5... So where i can found this one? Thanks. Upvote 0
klaus said: In the IDE, or in he Designer, see below. Best regards. Click to expand... Hi Klaus, Very surprisingly i don't have this menu item under project. I am using B4a 2.5... So where i can found this one? Thanks.
klaus Expert Licensed User Longtime User Feb 16, 2013 #6 This has changed since version 2.5. You find the two properites on top or the Activity code in the Activity Attributes Region. Set the two values like below: Code: #Region Activity Attributes. #FullScreen: True #IncludeTitle: False #End Region Best regards. Upvote 0
This has changed since version 2.5. You find the two properites on top or the Activity code in the Activity Attributes Region. Set the two values like below: Code: #Region Activity Attributes. #FullScreen: True #IncludeTitle: False #End Region Best regards.
B badal405 Member Licensed User Longtime User Feb 17, 2013 #7 Thank you very much klaus. It's working. Best regards. Upvote 0
PenguinHero Member Licensed User Longtime User Mar 14, 2013 #8 I have a related question, that I have searched the forums for, but not found if it has already been asked... I have the following in my app: Code: #FullScreen: True #IncludeTitle: False But for a very brief moment when I run the app I can see the title on the little black bar, before it disappears and all is as I expect. Is there something I can do to prevent it appearing at all? I know its just a cosmetic thing, but I'd like to stop it appearing at all, if possible. I'm using v2.52 but for an app was was written on the previous major version, should that make a difference. Thanks, PH Upvote 0
I have a related question, that I have searched the forums for, but not found if it has already been asked... I have the following in my app: Code: #FullScreen: True #IncludeTitle: False But for a very brief moment when I run the app I can see the title on the little black bar, before it disappears and all is as I expect. Is there something I can do to prevent it appearing at all? I know its just a cosmetic thing, but I'd like to stop it appearing at all, if possible. I'm using v2.52 but for an app was was written on the previous major version, should that make a difference. Thanks, PH
NJDude Expert Licensed User Longtime User Mar 14, 2013 #9 Try adding this line to your manifest: Code: SetActivityAttribute(Main, android:theme, @android:style/Theme.Black.NoTitleBar) Upvote 0
Try adding this line to your manifest: Code: SetActivityAttribute(Main, android:theme, @android:style/Theme.Black.NoTitleBar)
PenguinHero Member Licensed User Longtime User Mar 15, 2013 #10 NJDude said: Try adding this line to your manifest: Code: SetActivityAttribute(Main, android:theme, @android:style/Theme.Black.NoTitleBar) Click to expand... Thanks NJDude, that fixed it! I had assumed that was what the "#IncludeTitle: False" setting in the Module Attributes was doing (or something similar). PH Upvote 0
NJDude said: Try adding this line to your manifest: Code: SetActivityAttribute(Main, android:theme, @android:style/Theme.Black.NoTitleBar) Click to expand... Thanks NJDude, that fixed it! I had assumed that was what the "#IncludeTitle: False" setting in the Module Attributes was doing (or something similar). PH
C CidTek Active Member Licensed User Longtime User May 9, 2014 #11 NJDude said: Try adding this line to your manifest: Code: SetActivityAttribute(Main, android:theme, @android:style/Theme.Black.NoTitleBar) Click to expand... This has worked great for me to prevent the short flash of the title bar showing, but I have now added some views to my splash screen that have the Gingerbread theme whereas on other Activities they theme properly to Jelly Bean. Removing this line fixes the theming problem but I get the short flash of the title bar again. Upvote 0
NJDude said: Try adding this line to your manifest: Code: SetActivityAttribute(Main, android:theme, @android:style/Theme.Black.NoTitleBar) Click to expand... This has worked great for me to prevent the short flash of the title bar showing, but I have now added some views to my splash screen that have the Gingerbread theme whereas on other Activities they theme properly to Jelly Bean. Removing this line fixes the theming problem but I get the short flash of the title bar again.
C CidTek Active Member Licensed User Longtime User Jun 17, 2014 #12 Sorry for the bump but it's been over a month since I asked. Anybody have an idea why using the above manifest entry causes all views in that activity to show in Gingerbread style whereas after removing it, all views properly show in jelly Bean style. I want to both prevent the title flash and avoid a poor UI with Gingerbread views. Is there a better manifest entry? Upvote 0
Sorry for the bump but it's been over a month since I asked. Anybody have an idea why using the above manifest entry causes all views in that activity to show in Gingerbread style whereas after removing it, all views properly show in jelly Bean style. I want to both prevent the title flash and avoid a poor UI with Gingerbread views. Is there a better manifest entry?
Erel B4X founder Staff member Licensed User Longtime User Jun 17, 2014 #13 It is always better to start a new thread for a new question. The style you set is an old style. You can use this one instead: @android:style/Theme.Holo.NoActionBar Upvote 0
It is always better to start a new thread for a new question. The style you set is an old style. You can use this one instead: @android:style/Theme.Holo.NoActionBar
C CidTek Active Member Licensed User Longtime User Jun 17, 2014 #14 Erel said: It is always better to start a new thread for a new question. The style you set is an old style. You can use this one instead: @android:style/Theme.Holo.NoActionBar Click to expand... Thank you very much - problem solved. Upvote 0
Erel said: It is always better to start a new thread for a new question. The style you set is an old style. You can use this one instead: @android:style/Theme.Holo.NoActionBar Click to expand... Thank you very much - problem solved.