Android 小窗口中的Webview

Android 小窗口中的Webview,android,user-interface,Android,User Interface,有没有可能让webview停留在一个小窗口中,而不是全屏显示?awebview是一个类似于其他窗口的小部件。您可以通过放置它的布局来控制它的大小。当然。。。例如,这将使网络视图出现在列表视图旁边: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_p

有没有可能让webview停留在一个小窗口中,而不是全屏显示?

a
webview
是一个类似于其他窗口的小部件。您可以通过放置它的布局来控制它的大小。

当然。。。例如,这将使
网络视图
出现在
列表视图
旁边:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent" 
  android:layout_height="fill_parent"
>    
  <ListView
    android:id="@android:id/list"
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent"
    android:layout_weight="1"
  />
  <WebView
    android:id="@+id/browser"
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent"
    android:layout_weight="1"
  />
</LinearLayout>

摘自一本书。顺便说一下,马克·墨菲是几秒钟前回答这个问题的普通人