您的位置:首页 > 移动开发 > Android开发

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Android