background - Android: delete blank screen displayed before Splash screen -


i created splash screen , works fine. problem before activitywith background image displayed, second, screen appears default theme of android , background of app. can stop screen appearing on startup?

thanks

startactivity

protected void oncreate(bundle savedinstancestate) {      super.oncreate(savedinstancestate);     this.requestwindowfeature(window.feature_no_title);     setcontentview(r.layout.inicio);      tareaasincinicio = new tareaasincronainicio();     tareaasincinicio.execute(); } 

styles

<style name="apptheme2" parent="android:theme.holo">     <item name="android:windowbackground">@drawable/app_background</item> </style> 

give custom_title_splash_theme splash activity in manifest

<style name="custom_title_splash_theme" parent="android:theme">         <item name="android:windowdisablepreview">true</item>      </style> 

or add in style

<item name="android:windowdisablepreview">true</item> 

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -