I’m trying to use this to create a splash screen, but I only get a white loading screen:
super.onCreate(savedInstanceState);
super.setIntegerProperty("loadUrlTimeoutValue", 70000);
super.setStringProperty("loadingDialog", "Loading...");
super.setIntegerProperty("splashscreen", R.drawable.splash);
super.loadUrl("file:///android_asset/www/index.html");
I’ve placed splash.png inside of all the drawable directories, but I still get nothing. What am I doing wrong?
You need to specify the timeout in the loadUrl line like this:
that’ll show the splash screen for 10 seconds.