android FrameLayout响应了下层view的点击事件

来源:互联网 发布:数据库安全设计原则 编辑:程序博客网 时间:2024/05/16 17:48


解决方法 

设置clickable为true

[html] view plain copy
  1. <FrameLayout  
  2.            <span style="background-color: rgb(255, 0, 0);">android:clickable="true"</span>  
  3.            android:id="@+id/flHomebottom"  
  4.            android:layout_width="match_parent"  
  5.            android:layout_height="wrap_content"  
  6.            android:layout_gravity="bottom"  
  7.            android:orientation="horizontal">  
原文地址:http://blog.csdn.net/forevrehailong/article/details/52608838

阅读全文
0 0
原创粉丝点击