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

Not working with DialogActvity #8

Closed
JitenNumberTank opened this issue Jun 28, 2016 · 1 comment
Closed

Not working with DialogActvity #8

JitenNumberTank opened this issue Jun 28, 2016 · 1 comment

Comments

@JitenNumberTank
Copy link

I have used windowSoftInputMode is adjustResize and my android os version 5.0 and device is Nexus 5. I am getting IsOpen true or false in normal activity. but If I use Theme.dialog for Activity means DialogActvity then its not working in my case

@tata8k
Copy link
Contributor

tata8k commented Jan 6, 2017

@JitenNumberTank
Fix solution :
Use "View view = activity.getWindow().getDecorView()" instead of "View view = activity.getCurrentFocus()" in method UIUtil.hideKeyboard(Activity activity)

@yshrsmz yshrsmz closed this as completed in be5448f Jan 6, 2017
yshrsmz added a commit that referenced this issue Jan 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants