要解决ScrollView嵌套的X5WebView。滑动、高度冲突,则首先要解决ScrollView与 X5Webview的滑动冲突,
    android:layout_width="match_parent"
    android:layout_height="0dp"
    android:layout_weight="1">

            android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical">

                    android:id="@+id/rec"
            android:layout_width="match_parent"
            android:scrollbars="none"
            android:layout_height="wrap_content">

                            android:id="@+id/webView1"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:scrollbars="none" />
       

                    android:id="@+id/logView1"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@id/rec"
            android:singleLine="false"
            android:text="前面不重要,关键是开源的,还能解决我们开发中的一些问题和需求,举个例子:QQ浏览器独立小窗播放视频的功能,还有WebView播放原生H5Video难以很好解决的全屏播放问题~~...前面不重要,关键是开源的,还能解决我们开发中的一些问题和需求,举个例子:QQ浏览器独立小窗播放视频的功能,还有WebView播放原生H5Video难以很好解决的全屏播放问题~~...前面不重要,关键是开源的,还能解决我们开发中的一些问题和需求,举个例子:QQ浏览器独立小窗播放视频的功能,还有WebView播放原生H5Video难以很好解决的全屏播放问题~~...前面不重要,关键是开源的,还能解决我们开发中的一些问题和需求,举个例子:QQ浏览器独立小窗播放视频的功能,还有WebView播放原生H5Video难以很好解决的全屏播放问题~~...前面不重要,关键是开源的,还能解决我们开发中的一些问题和需求,举个例子:QQ浏览器独立小窗播放视频的功能,还有WebView播放原生H5Video难以很好解决的全屏播放问题~~...前面不重要,关键是开源的,还能解决我们开发中的一些问题和需求,举个例子:QQ浏览器独立小窗播放视频的功能,还有WebView播放原生H5Video难以很好解决的全屏播放问题~~...前面不重要,关键是开源的,还能解决我们开发中的一些问题和需求,举个例子:QQ浏览器独立小窗播放视频的功能,还有WebView播放原生H5Video难以很好解决的全屏播放问题~~..."
            android:visibility="visible" />

                    android:layout_below="@id/logView1"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

                            android:id="@+id/recy"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"/>

       

   

 

注意:在添加↓ Webview的时候,把滑动冲去掉,在外层加上relativelayout

android:layout_width="match_parent" android:scrollbars="none"

android:layout_height="wrap_content">

android:layout_height="wrap_content" android:scrollbars="none" />

 

而RecyclerView 则在外层加上

android:layout_below="@id/logView1"

android:layout_width="match_parent" android:layout_height="wrap_content">

android:id="@+id/recy" android:layout_width="match_parent"

android:layout_height="wrap_content"/>

更多相关文章

  1. 【android】只让本应用程序的webview加载网页而不调用外部浏览器
  2. android 点击跳转到你要展示的网页
  3. Android(安卓)7.0以上Charles花瓶Https抓包简述
  4. 2014.08.05 ——— android Gson JsonDeserializer
  5. Android中添加书签(浏览器的收藏)
  6. android中调用指定浏览器
  7. Android(安卓)adb shell 启动java程序
  8. Android: Gallery的adapter中getView方法被执行多次
  9. 怎样抓webview的trace

随机推荐

  1. 从头开始学Android—Android Studio(一)
  2. Android仿小米商城底部导航栏(基于BottomN
  3. 布局(一)
  4. Android 从硬件到应用:一步一步向上爬 1 -
  5. android 细节之 menu 之 invalidateOptio
  6. android 开机启动应用程序
  7. 自定义view引起的错误:No resource identi
  8. EventBus3.0使用详解
  9. Android NDK环境创建方法简介
  10. Android 开发技术周报 Issue#285