Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
TextView设置bl_selected_drawable消费了点击事件 #107
Comments
|
你将FrameLayout换成BLFrameLayout试试 ,感觉像是databinding和bl有冲突导致 |
|
遇到同样的问题了 |
需要drawavle左侧设置并且居中显示,所以嵌套了FrameLayout,并且给FrameLayout设置点击事件,当点击文字时,点击事件没有响应,去掉bl相关属性后是正常的,改为原生selector.xml也是正常的

代码如下