Anonymous Anonymous - 1 year ago 689
Android Question

How To fix white screen on app Start up?

I have an android app which displays a white screen for 2 seconds on startup. My other apps don't do this, but this one does. I have also implemented a splashscreen with the hope that it would fix this. Should I increase my splash screen sleep time?

Answer Source

Just mention the transparent theme to the starting activity in the AndroidManifest.xml file.

        android:name="first Activity Name"
        android:theme="@android:style/Theme.Translucent.NoTitleBar" >
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download