barx Well-Known Member Licensed User Longtime User Feb 14, 2013 #1 I have noticed this on every app i've made so far. Even though I set the attribute B4X: #IncludeTitle: False When the app first starts I see the title for a second or so, then the desired appearance shows. Some screens to show this effect app first loads a second or so later Is it possible to avoid this and start with the desired view instantly. Many apps that i have installed from market don't have this issue? Thanks
I have noticed this on every app i've made so far. Even though I set the attribute B4X: #IncludeTitle: False When the app first starts I see the title for a second or so, then the desired appearance shows. Some screens to show this effect app first loads a second or so later Is it possible to avoid this and start with the desired view instantly. Many apps that i have installed from market don't have this issue? Thanks
NJDude Expert Licensed User Longtime User Feb 14, 2013 #2 The title will always show up when you use layouts created with the designer. Upvote 0
barx Well-Known Member Licensed User Longtime User Feb 14, 2013 #3 Now then stranger! lol How's things? So it's designer related and no way round it then. That sux a little. I think it tends to look a little less professional. Upvote 0
Now then stranger! lol How's things? So it's designer related and no way round it then. That sux a little. I think it tends to look a little less professional.
barx Well-Known Member Licensed User Longtime User Feb 14, 2013 #4 OK, figured a workaround out. Open Manifest editor and add the following B4X: SetActivityAttribute(Main, android:theme, @android:style/Theme.Black.NoTitleBar) Upvote 0
OK, figured a workaround out. Open Manifest editor and add the following B4X: SetActivityAttribute(Main, android:theme, @android:style/Theme.Black.NoTitleBar)
thedesolatesoul Expert Licensed User Longtime User Feb 14, 2013 #5 nice one guys ill try it too Sent from my GT-I9305 using Tapatalk 2 Upvote 0
margret Well-Known Member Licensed User Longtime User Feb 14, 2013 #6 Does this work from Android 2 up, or does this only work with Android 3 or greater? Upvote 0
barx Well-Known Member Licensed User Longtime User Feb 15, 2013 #7 I have no idea margret though i cannot see why it wouldn't work <v3. Should be getting my hands on a 2.3.6 device today so will test it out a little later to see how it goes. Upvote 0
I have no idea margret though i cannot see why it wouldn't work <v3. Should be getting my hands on a 2.3.6 device today so will test it out a little later to see how it goes.
NJDude Expert Licensed User Longtime User Feb 15, 2013 #8 Barx, the line you indicated will work, however, if you target SDK > 11 you won't see the Holo theme. Upvote 0
Barx, the line you indicated will work, however, if you target SDK > 11 you won't see the Holo theme.
barx Well-Known Member Licensed User Longtime User Feb 15, 2013 #9 margret said: Does this work from Android 2 up, or does this only work with Android 3 or greater? Click to expand... Just tried it on a galaxt ace running 2.3.6 and it seems to do the trick! Upvote 0
margret said: Does this work from Android 2 up, or does this only work with Android 3 or greater? Click to expand... Just tried it on a galaxt ace running 2.3.6 and it seems to do the trick!
barx Well-Known Member Licensed User Longtime User Feb 15, 2013 #10 NJDude said: Barx, the line you indicated will work, however, if you target SDK > 11 you won't see the Holo theme. Click to expand... I hadn't realized that I had referenced the Holo theme. Is style/Theme.Black just a standard theme. Seems to work on < v3. Upvote 0
NJDude said: Barx, the line you indicated will work, however, if you target SDK > 11 you won't see the Holo theme. Click to expand... I hadn't realized that I had referenced the Holo theme. Is style/Theme.Black just a standard theme. Seems to work on < v3.
barx Well-Known Member Licensed User Longtime User Feb 23, 2013 #11 I must offer an apology to NJDude here as I have just realized what he was talking about. If you wish to use the Holo theme then use this line instead B4X: SetActivityAttribute(Main, android:theme, @android:style/Theme.Holo.Light.NoActionBar) This still may need some tweaking as not tried it on Gingerbread yet. Maybe some version folders needed. Will report back after some more tests. Upvote 0
I must offer an apology to NJDude here as I have just realized what he was talking about. If you wish to use the Holo theme then use this line instead B4X: SetActivityAttribute(Main, android:theme, @android:style/Theme.Holo.Light.NoActionBar) This still may need some tweaking as not tried it on Gingerbread yet. Maybe some version folders needed. Will report back after some more tests.