摘要: 1、View.getContext(): Returns the context the view is currently running in. Usually the currently active Activity. 当前Activity的上下文 2、Activity.getApplica 阅读全文
posted @ 2016-02-03 15:18 小酿 阅读(2835) 评论(0) 推荐(0) 编辑
摘要: 解决方法:把布局中的button,imagebutton,checkbox等所在的父容器中的descendantFocusability设置为blocksDescendants就可以了。 阅读全文
posted @ 2016-01-05 15:17 小酿 阅读(101) 评论(0) 推荐(0) 编辑