[Using the support library]
When attempting to use an EditText
inside of a Fragment
that is in my ScreenSlidePagerAdapter
in which multiple Fragment
s are visible at once.
The second Fragment
in the list contains an EditText
. On Android 4.1 & 4.2 it works fine. On Android 2.3.6 (don't know about other versions), tapping the EditText
will bring up the on screen keyboard, but will not focus the EditText
. If I drag within the ScreenSlidePagerAdapter
in such a way that the Fragment
becomes considered "current", then the EditText
will behave correctly.
A fixed layout is not acceptable, as everything must be generated dynamically and the number of Fragment
s visible can vary based on different criteria.
Any ideas on how to get it to behave correctly and without hard-coding?