This one is similar to a question that I asked yesterday. However my concern is different. To summarize I needed to remove the text from the titlebar for one of my activities (the main activity) (1). I did this using setTitle("");
on the onCreate
method. However when starting the application the former title remains displayed during 2 secs before changing to the new one.
It is probably because the titlebar is loaded before the activity loads, and I guess I either need to make the titlebar loads at the same time than when the activity loads or do this not in the code but in xml files.
Any idea?
Thanks!
(1): The reason why I want to do this is explained here.
You can do it from manifest file for each activity separately. Look here.