Hiding Actionbar From Actionbaractivity After A Splash Fragment
Basically the launcher is the ActionBarActivity that calls the Fragment(splash) and then back to ActionBarActivity. THe problem is before the splash became visible the actionbar sh
Solution 1:
it'very simple if you are using it from support android sdk 7 then
getSupportActionBar().hide();
else
getActionBar().hide();
Solution 2:
Basically what you want is to remove the actionbar when your splashscreen loads?. Try put this item inside your current theme on res/values/styles.xml
<item name="android:windowNoTitle">true</item>
It goes like this for example:
<stylename="MyActivityTheme"parent="@android:style/Theme.Holo"><itemname="android:windowNoTitle">true</item><!-- other activity and action bar styles here --></style>
I hope it helps. :)
Solution 3:
create a theme that has windowNoTitle = true and use this style in the activity's manifest. Inside the Activity(the launcher one) setTheme(you're normal one, this one i added windowNoTitle= false), add this line before the super.onCreate().
Post a Comment for "Hiding Actionbar From Actionbaractivity After A Splash Fragment"