Reputation: 55
My application has structure like below-
<RelativeLayout>
...
<ScrollView>
<LinearLayout>
....
<EditText ... />
....
</LinearLayout>
</ScrollView>
...
</RelativeLayout>
When I am trying to input values in EditText
, it loses focus and scrolls up to top.
It is focused when I first click it, but loses when I click any values (a-z) of softkeyboard.
Important issue is Application works fine on other devices and has this error only on certain devices (e.g. galaxy S4)
I already made 'adjustpan' and EditText's focusable true.
And there is no focus handling source in .java file.
Anyone has solution to this problem?
or Galaxy S4 has any issue on this problem?
Upvotes: 0
Views: 1231
Reputation: 55
I found the reason.
This issue only works on the condition below
So I did like below
If anyone has better solution, please tell me how..
Upvotes: 2