android FrameLayout响应了下层view的点击事件
2017-10-28 16:52
615 查看
解决方法
设置clickable为true
[html] view
plain copy
<FrameLayout
<span style="background-color: rgb(255, 0, 0);">android:clickable="true"</span>
android:id="@+id/flHomebottom"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:orientation="horizontal">
原文地址:http://blog.csdn.net/forevrehailong/article/details/52608838
设置clickable为true
[html] view
plain copy
<FrameLayout
<span style="background-color: rgb(255, 0, 0);">android:clickable="true"</span>
android:id="@+id/flHomebottom"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:orientation="horizontal">
原文地址:http://blog.csdn.net/forevrehailong/article/details/52608838
相关文章推荐
- android FrameLayout响应了下层view的点击事件
- Android同一个TextView里响应多个区域点击事件
- android webview js交互, 响应webview中的图片点击事件
- android webview js交互, 响应webview中的图片点击事件
- Android ImageView图片透明区域不响应点击事件,不规则图片透明区域响应点击事件
- Android 隐藏ViewPager之后,控件点击事件无法响应的问题
- android webview js交互, 响应webview中的图片点击事件
- Android ListView 嵌套 ImageView,如何响应ImageView的点击和长按事件
- android webview js交互, 响应webview中的图片点击事件 .
- RelativeLayout、Framelayout 两布局重叠,使下层不响应点击事件
- android webview js交互, 响应webview中的图片点击事件
- Android中的WebView禁止响应点击事件的方法
- android framelayout两布局重叠,如何让下层不响应事件
- android webview js交互, 响应webview中的图片点击事件
- android webview js交互, 响应webview中的图片点击事件
- android webview js交互, 响应webview中的图片点击事件
- android RecyclerView响应点击事件
- Android 布局文件中出现两个framelayout布局重叠,如何让下层不响应事件
- android webview js交互, 响应webview中的图片点击事件
- 响应webview中的图片点击事件 (android webview js交互)