Android-CollapsibleSearchMenu
Android-CollapsibleSearchMenu copied to clipboard
EditText not working with a fragment
First of all, thank you for your work and time!
Everything works great until I add a fragment to my SherlockFragmentActivity.
When I don't add a fragment and add the search function in the activity to the actionbar it works.
When I add a fragment the EditText doesn't take the input. It just uses a box (see screenshot)
This only happens Android < 3.0. In newer version everything works fine.
Do you have any idea why this happens?
Build target: Google APIs 4.0.3 (tried 4.2 also)
The same is happening with me. I am working on Android 3.3 Beta version. Clicking on edittext also does not open up the keyboard. Please Help..!!
The same issue with me, I have added 4 fragments in the activity, and in one fragment then edit text is not clickable.
please provide any solution!!
@sreyans01 got the solution??
Yes, I got the solution. Just make the edittext focusable and set focus to "true" when fragment is created, and it will solve the problem.