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.
Not quite sure I understood why you want to have multiple WebView's but, yes, you can have several in the same Layout.Answer2:
Yes, you could do that..the best way may be, using XML layout<ol><li>
Add 2 weviews within a linear layout using android:layout_weight="1" So you get 2 webviews occupying half space each. You can give it accordingly.</li> <li>
Now, use findViewById() in the program and get the ID of the webviews.</li> </ol>
So you get both views in a single activity. Let me know if you have any other doubts.