The Wayback Machine - http://web.archive.org/web/20201210001941/https://github.com/JavaNoober/BackgroundLibrary/issues/107
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextView设置bl_selected_drawable消费了点击事件 #107

Open
IPSli opened this issue Jul 7, 2020 · 2 comments
Open

TextView设置bl_selected_drawable消费了点击事件 #107

IPSli opened this issue Jul 7, 2020 · 2 comments

Comments

@IPSli
Copy link

@IPSli IPSli commented Jul 7, 2020

需要drawavle左侧设置并且居中显示,所以嵌套了FrameLayout,并且给FrameLayout设置点击事件,当点击文字时,点击事件没有响应,去掉bl相关属性后是正常的,改为原生selector.xml也是正常的
代码如下
image

@JavaNoober
Copy link
Owner

@JavaNoober JavaNoober commented Jul 17, 2020

你将FrameLayout换成BLFrameLayout试试 ,感觉像是databinding和bl有冲突导致

@benxin123
Copy link

@benxin123 benxin123 commented Aug 21, 2020

遇到同样的问题了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.