在Android的单屏/多活动Web视图 [英] Multiple web views on single screen/activity in android

查看:74
本文介绍了在Android的单屏/多活动Web视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以在一个有多个Web视图更多的Andr​​oid应用中的一个屏幕/活动?建筑物比如屏幕上方季度使用它加载HTML,CSS,以及与应用程序打包的本地文件的JS网页视图的应用程序的进出口新的Andr​​oid开发人员,以及即时通讯思想(这将是标志和菜单项)和另一个滚动web视图占据与从互联网检索的数据在屏幕的底部的3/4。类似于Twitter的Andr​​oid应用程序如何似乎工作。林不知道该应用是否使用多个网络的观点虽然。

Can one have more than one web view on a single screen/activity in an android app? Im new to android dev, and Im thinking of building an app where for instance the top quarter of the screen uses a webview which loads html,css, and js from local files packaged with the app (this will be the logo and menu items), and another scrollable web view occupies the bottom 3/4 of the screen with data retrieved from the internet. Similar to how the Twitter for Android app seems to work. Im not sure whether that app uses multiple web views though.

谢谢!

推荐答案

不太清楚我明白你为什么要有多的WebView但是,是的,你可以在相同的布局好几个。

Not quite sure I understood why you want to have multiple WebView's but, yes, you can have several in the same Layout.

这篇关于在Android的单屏/多活动Web视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆