[英]Android:Display an image while page is loading using phonegap
How can I display an image for 2 seconds while loading page meanwhile? 同时加载页面时如何显示图像2秒钟?
public class MainActivity extends DroidGap {
public void onCreate(Bundle savedInstanceState) {
super.loadUrl(url)
}
}
I don't want to use the splashScreen plugin or js plugins. 我不想使用splashScreen插件或js插件。
something like run it as a thread. 像将其作为线程运行。
因此,如果您不想使用splashScreen插件,我想您是在可以利用图像的Loader Widget后面。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.