How To fix white screen on app Start up?

how to fix white screen on app start up android unity
white screen when opening app
white screen is displayed while switching between activities
android studio app white screen
boost app white screen
white page showing after splash screen before app load
android:windowdisablepreview
white screen pop up android

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? Thanks.

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

Like:

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

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
 </activity>

and extend that screen with Activity class in place of AppCompatActivity.

like :

public class SplashScreenActivity extends Activity{

  ----YOUR CODE GOES HERE----
}

How To fix white screen on app Start up?, How do I fix the white screen on my Android app? How To fix white screen on app Start up? Android splash screen is white in the beginning? White screen before splashscreen. White background when Android app start up. Why there is a white screen appears for 1sec when starting to run the apps in Android? References: Patterns – Launch screens. Branded launch screen: the new splash for Android.

Put this in a custom style and it solves all the problems. Using the hacky translucent fix will make your task bar and nav bar translucent and make the splashscreen or main screen look like spaghetti.

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

White Screen is displayed for few seconds on startup. · Issue #328 , How do I fix the white screen of death on my Android? Before you do anything to solve the Mac frozen screen, try an easy fix: check your peripherals. Try to disconnect all of them (printers, scanners, USB devices, etc.) with the exception of the keyboard and mouse. Then reboot your Mac. If it boots up now, one of those peripherals is the source of the plain white screen problem. However, if it

Like you tube.. initially they show icon screen instead of white screen. And after 2 seconds shows home screen.

first create an XML drawable in res/drawable.

<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">

    <item
        android:drawable="@color/gray"/>

    <item>
        <bitmap
            android:gravity="center"
            android:src="@mipmap/ic_launcher"/>
    </item>

</layer-list>

Next, you will set this as your splash activity’s background in the theme. Navigate to your styles.xml file and add a new theme for your splash activity

<resources>

    <!-- Base application theme. -->
    <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
        <!-- Customize your theme here. -->
    </style>

    <style name="SplashTheme" parent="Theme.AppCompat.NoActionBar">
        <item name="android:windowBackground">@drawable/background_splash</item>
    </style>

</resources>

In your new SplashTheme, set the window background attribute to your XML drawable. Configure this as your splash activity’s theme in your AndroidManifest.xml:

<activity
    android:name=".SplashActivity"
    android:theme="@style/SplashTheme">
    <intent-filter>
        <action android:name="android.intent.action.MAIN" />

        <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
</activity>

This link gives what you want. step by step procedure. https://www.bignerdranch.com/blog/splash-screens-the-right-way/

UPDATE:

The layer-list can be even simpler like this (which also accepts vector drawables for the centered logo, unlike the <bitmap> tag):

<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
    <!-- Background color -->
    <item android:drawable="@color/gray"/>

    <!-- Logo at the center of the screen -->
    <item
        android:drawable="@mipmap/ic_launcher"
        android:gravity="center"/>
</layer-list>

Android apps open to a white screen and do not load, Just mention the transparent theme to the starting activity in the AndroidManifest.​xml file. Like: <activity android:name="first Activity Name"  Still get white screen when booting AND white screen when I try to boot from CD. Does this point to hardware logic board problem? this is an old MacBookPro2,2 so its time has probably come. did i mention that prior to start up there are diagonal bars/lines across screen? these do go away in safe mode.

Make a style in you style.xml as follows :

<style name="Theme.Transparent" parent="Theme.AppCompat.Light.NoActionBar">
    <item name="android:windowNoTitle">true</item>
    <item name="android:windowActionBar">false</item>
    <item name="android:windowFullscreen">true</item>
    <item name="android:windowContentOverlay">@null</item>
    <item name="android:windowIsTranslucent">true</item>
</style>

and use it with your activity in AndroidManifest as:

<activity android:name=".ActivitySplash" android:theme="@style/Theme.Transparent">

How to fix application launch white screen issue, A blank white screen is shown for 3-4 seconds on app startup. We already have a splashScreen and still there is a problem, so we can make  figured out a fix for this. You need to first go to the appdata "%APPDATA\BioshockHD\Bioshock" enter that without the "Then open "Bioshock.ini" and find "StartupFullscreen" It should say "False" next to it and you type "True" instead. You should start up the game with the logos instead of the white screen now.

You should read this great post by Cyril Mottier: Android App launching made gorgeous

You need to customise your Theme in style.xml and avoid to customise in your onCreate as ActionBar.setIcon/setTitle/etc.

See also the Documentation on Performance Tips by Google.

Use Trace View and Hierarchy Viewer to see the time to display your Views: Android Performance Optimization / Performance Tuning On Android

Use AsyncTask to display some views.

How to remove the white screen that shows up when my Android , The problem stemmed from where these apps were installed. By default, my phone was installing apps to the external storage (which was formatted as part of​  To translate this article, select a language. When launching the Autodesk Desktop App, it shows a blank white screen and freezes up, sometimes showing a perpetual spinning icon. An automatic update of the app is incomplete or corrupted. Wrong compatibility options on the app. Open the Task Manager. Click the Process tab.

Troubleshoot black screen or blank screen errors, In this blog, we are going to fix application white launch screen issue. Let take the example of youtube application where the user launches  Same thing has happened with my computer screen. While I was using it, suddenly it would just turn white. So I told my parents, and my dad brought it to a computer guy to fix. The guy said it had to do with the board that is inside your computer (directly under your keyboard). They have to replace the board inside with a new one. What caused

How To fix white screen on app Start up?, The main reason of blank screen is that your layout file is visible only after the app is fully started. You can resolve this problem by specifying the background of​ 

White screen delay on launch of app - ionic-v3, Find out how to troubleshoot black screen or blank screen errors in Windows 10. Select Start > Settings > Apps (or System in older versions) > Apps & features When you use a normal startup process for Windows, several 

Comments
  • The activity that you are starting is taking too long to do its onCreate part. Try to just "setContentView" in that activity and check if this delay is gone.
  • sorry i am a newbie and i have no experience with java, can you please explain clearly? and please give an "answer" so that i can tick it :)
  • Are you using java or c# in your project?
  • Hope this link will help you: cyrilmottier.com/2013/01/23/android-app-launching-made-gorgeous
  • geeksforandroidgeeks.com/android/splash_issue PLease go through link
  • but using final ActionBar actionBar = getActionBar(); will return null when the Theme is translucent
  • Pankaj - yes, I learned that the bad UI experience was due to the "preview" window... apparently someone at Google decided that a white preview window was really awesome to use by default. However, in an app that uses a dark background it's a really bad idea. The solution is to create a custom style for your app and specify 'android:windowBackground' to the color you want to use. See the section "the perfect preview window" cyrilmottier.com/2013/01/23/android-app-launching-made-gorgeous
  • @Hagai L It's give me an error like as "java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity."
  • android:theme="@android:style/Theme.Translucent.NoTitleBar" did not work for me, any suggestions?
  • @TejaDroid to get stop error "java.lang.IllegalStateException" you have to extends your Activity by android.app.Activity, right now you are using AppCompactActivity. So for AppCompactActivity you cannot use normal themes.
  • Thx man, saved from lots of hassle. I was having hard time initially to get the setting point. It will be main theme block: inline ` <style name="AppTheme" parent="Theme.AppCompat.NoActionBar"> <item name="android:windowDisablePreview">true</item>` should be the entry point at main style.xml