Blue.Sky Active Member Licensed User Longtime User Oct 13, 2015 #1 Hi If you look carefully when we start us app,for 500 ms,show black or white screen before running main activity I searched and found "Hide Actionbar" for hide black or white screen How i remove actionbar?
Hi If you look carefully when we start us app,for 500 ms,show black or white screen before running main activity I searched and found "Hide Actionbar" for hide black or white screen How i remove actionbar?
Erel B4X founder Staff member Licensed User Longtime User Oct 13, 2015 #2 You can remove it with this theme: Code: Copy SetApplicationAttribute(android:theme, "@android:style/Theme.Holo.NoActionBar") Upvote 0
You can remove it with this theme: Code: Copy SetApplicationAttribute(android:theme, "@android:style/Theme.Holo.NoActionBar")
Blue.Sky Active Member Licensed User Longtime User Oct 14, 2015 #3 Thank you but i test it and not happen and still show black screen Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Oct 14, 2015 #4 Make sure that Activity_Create finishes quickly. It should take less than 500ms to show. Upvote 0
Blue.Sky Active Member Licensed User Longtime User Oct 14, 2015 #5 Erel said: Make sure that Activity_Create finishes quickly. It should take less than 500ms to show. Click to expand... Ohhhh i use setvisible for two view in activity create.maybe affect to actionbar? Upvote 0
Erel said: Make sure that Activity_Create finishes quickly. It should take less than 500ms to show. Click to expand... Ohhhh i use setvisible for two view in activity create.maybe affect to actionbar?
Erel B4X founder Staff member Licensed User Longtime User Oct 15, 2015 #6 I'm not sure that I understand the problem. Is the action bar the problem or the black screen? Upvote 0
Blue.Sky Active Member Licensed User Longtime User Oct 15, 2015 #7 Erel said: I'm not sure that I understand the problem. Is the action bar the problem or the black screen? Click to expand... My problem is black screen. I change theme to holo.light and black screen change to white screen I move splash code to other activity and in main activity,start splash activity. I am feeling black or white screen a lot about 2 second Upvote 0
Erel said: I'm not sure that I understand the problem. Is the action bar the problem or the black screen? Click to expand... My problem is black screen. I change theme to holo.light and black screen change to white screen I move splash code to other activity and in main activity,start splash activity. I am feeling black or white screen a lot about 2 second
Erel B4X founder Staff member Licensed User Longtime User Oct 15, 2015 #8 I see the black screen for about 200ms. You cannot hide it. Upvote 0
Blue.Sky Active Member Licensed User Longtime User Oct 15, 2015 #9 Erel said: I see the black screen for about 200ms. You cannot hide it. Click to expand... For me 500 ms or low,ok not problem Upvote 0
Erel said: I see the black screen for about 200ms. You cannot hide it. Click to expand... For me 500 ms or low,ok not problem