*EDIT - Issue solved. See my post - HERE
If you use EditText's in ScrollViews there is a tendency for the edit texts to automatically gain focus as they come into view. Is there a way to prevent this?
I want to detect when the 'user' clicks into an edit text rather than when the system activates it
The situation I have is, if there is a edit text in a low position on screen and a user clicks it, the soft keyboard will appear over the top of the edit text hiding it. his is because no scrolling or jumping occurs automatically (because of the edit text being inside a scroll view)
To get around this I thought of using existing EditText FocusChanged (HasFocus As Boolean) sub and scrolling the view to the focused edit text
The problem is, the scroll view jumps around due to the auto-focusing taking place (as explained above)
What I think I need then, is an event to trigger when the user manually taps the edit text. However, such event would need to fire 'before' the soft keyboard is invoked
Any work-around ideas? If need be I will post an example later
Thanks
If you use EditText's in ScrollViews there is a tendency for the edit texts to automatically gain focus as they come into view. Is there a way to prevent this?
I want to detect when the 'user' clicks into an edit text rather than when the system activates it
The situation I have is, if there is a edit text in a low position on screen and a user clicks it, the soft keyboard will appear over the top of the edit text hiding it. his is because no scrolling or jumping occurs automatically (because of the edit text being inside a scroll view)
To get around this I thought of using existing EditText FocusChanged (HasFocus As Boolean) sub and scrolling the view to the focused edit text
The problem is, the scroll view jumps around due to the auto-focusing taking place (as explained above)
What I think I need then, is an event to trigger when the user manually taps the edit text. However, such event would need to fire 'before' the soft keyboard is invoked
Any work-around ideas? If need be I will post an example later
Thanks
Last edited: