android - Removing ActionBar (Tittle) splash screen with icon -


just started developing action bar. having problem. have customized action bar wanted ( sort of, still cant position buttons on left :)). have removed icons, button, tittle action bar. problem is, when i'm launching application tittle bar (with icon , tittle) flashes second, before customized action bar appear... how can stop splash?

i have saw answers include removing tittlebar android theme, because tittlebar , actionbar same thing, removing tittlebar causes actionbar dissapear.

if want remove actionbar in 1 activity in particular, best way deal use theme.

in androidmanifest, declare application theme of app, , can declare activity 1 theme in particular :

<application     android:icon="@drawable/ic_launcher"     android:label="@string/app_name"     android:theme="@style/apptheme">      <activity         android:name="splashactivity"         android:theme="@style/appthemenotitle"         android:label="@string/app_name"/>      <!-- ... others activities -->   </application> 

in styles.xml :

<!-- application theme. -->    <style name="apptheme" parent="theme.sherlock.light">     <item name="actionbarstyle">@style/widget.styled.actionbar</item> </style>  <style name="appthemefullscreen" parent="apptheme">     <item name="android:windownotitle">true</item> </style> 

Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -