-
Notifications
You must be signed in to change notification settings - Fork 34
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
Back button not working #2
Comments
Hi @mtwain |
I used your solution also for creating a chat heads like view and i also had issues with the back button and also while the view was shown than i could not show dialogs when long clicking other applications(like dialogs that pop up after long clicking a contact in the contacts app in my LG G4 device.) The solution in my case was to just use |
Agree, WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE allows me to access checkbox after running, overwise not. Steps to reproduce:
|
Replace
WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL
withWindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL| WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
when configuring LayoutParams inaddToWindowManager()
method to allow users to normally use back button.The text was updated successfully, but these errors were encountered: