X xcl Member Licensed User Nov 21, 2017 #1 Mybe a stupid question again ) I have a problem as in https://www.b4x.com/android/forum/threads/black-screen-when-loading-app.17616/ When my app is loading i seeng the black layout whith the aplication label before start any activity (splashscreen or my layouts) Methods of splashscreens don't help me. I'm check this problem with clearest B4A project, and has this problem... B4A ver 7.30
Mybe a stupid question again ) I have a problem as in https://www.b4x.com/android/forum/threads/black-screen-when-loading-app.17616/ When my app is loading i seeng the black layout whith the aplication label before start any activity (splashscreen or my layouts) Methods of splashscreens don't help me. I'm check this problem with clearest B4A project, and has this problem... B4A ver 7.30
X xcl Member Licensed User Nov 21, 2017 #2 Clear example attached Attachments ClearEx.zip 3.4 KB · Views: 403 Upvote 0
Geezer Active Member Licensed User Longtime User Nov 22, 2017 #3 This line, added to your manifest file, will make the Main activity full screen with no title. You can change it to suit your needs. B4X: SetActivityAttribute(Main, android:theme, "@android:style/Theme.NoTitleBar.Fullscreen") Upvote 0
This line, added to your manifest file, will make the Main activity full screen with no title. You can change it to suit your needs. B4X: SetActivityAttribute(Main, android:theme, "@android:style/Theme.NoTitleBar.Fullscreen")
X xcl Member Licensed User Nov 22, 2017 #4 Geezer, thanks, but it does not help me ( a. i use titlebar in my layouts b. i steel seeng black screen (layout) when app is start (just without title) The question is: how disable this layout or change for enything else?... Upvote 0
Geezer, thanks, but it does not help me ( a. i use titlebar in my layouts b. i steel seeng black screen (layout) when app is start (just without title) The question is: how disable this layout or change for enything else?...
Erel B4X founder Staff member Licensed User Longtime User Nov 22, 2017 #5 You can set the activity title in the manifest editor: B4X: SetActivityAttribute(Main, "android:label", "Activity 123") This way it will appear immediately with this title. Upvote 0
You can set the activity title in the manifest editor: B4X: SetActivityAttribute(Main, "android:label", "Activity 123") This way it will appear immediately with this title.