Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 Android apk,它启动 webview 并加载一个 url。由于加载 url 通常需要时间,所以在加载 apk 时如何显示图像?例如,图像可以是徽标。
非常感谢。
使用这样的布局
<RelativeLayout> <ImageView> //with log <WebView> <RelativeLayout>
当页面加载时,Webview 出现在 ImageView 的前面。或者您也可以在页面加载后隐藏它。