LinearLayout 中包含 TextView,LinearLayout 点击事件不生效
摘要:
原因:TextView控件覆盖了LinearLayout ,同事也覆盖了他的点击事件,所有需要在 TextView的属性中添加: android:duplicateParentState="true"即可。 阅读全文
posted @ 2016-07-08 17:09 牛笑笑 阅读(6715) 评论(0) 推荐(0) 编辑
posted @ 2016-07-08 17:09 牛笑笑 阅读(6715) 评论(0) 推荐(0) 编辑