I am using [sliding menu] [1] in my app. I use Viewpager to show three pieces in the tab in one piece. In three pieces, EditTexts
inside LinearLayouts
are in ScrollView
. So my XML XML is like this:
RELATED LAYOUTS> ScrollView & gt; LinearLayout & gt; Edit Text
.
After the focus every
By the way, I do not have to have TextWatchers
set EditTexts
. In
Edit:
When I remove the EditTexts
from the other two pieces, so it is smooth I but only When all three pieces have EditTexts
, then it is sluggish.
I android: windowSoftInputMode = "Do not adjust"
adding that it Does not resize and does not scroll. And in order to edit those readers, the focus was added to listeners who are at the bottom of the screen so that they appear to users while typing.
editText.setOnFocusChangeListener (new onFocus Legend () {@Override public void OnFocusChange (see V, Boolean Hafoks) {if (Hafoks) {scroll.scrollTo (rootView.getWidth (), rootView. GetHeight ()); // rootview is the scene of my parents' piece}}});
However, if anyone knows a great solution, then post it.
Comments
Post a Comment