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

Release版需要手动代码设置焦点才显示控件 #4

Open
CandyL opened this issue May 11, 2021 · 1 comment
Open

Release版需要手动代码设置焦点才显示控件 #4

CandyL opened this issue May 11, 2021 · 1 comment

Comments

@CandyL
Copy link

CandyL commented May 11, 2021

Release版app:blockShape="solid"情况下,
xml控件内设置
android:focusable="true"
android:focusableInTouchMode="true"
控件还是获取不到焦点
需要手动代码设置焦点才显示控件

@lwjfork
Copy link
Owner

lwjfork commented May 27, 2021

Release版app:blockShape="solid"情况下,
xml控件内设置
android:focusable="true"
android:focusableInTouchMode="true"
控件还是获取不到焦点
需要手动代码设置焦点才显示控件

该库并没有进行焦点的控制,仅仅是监听了焦点的获取和丢失,你排查一下,你的代码是否有问题

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

No branches or pull requests

2 participants