Saturday, January 25, 2014

How to prevent ScrollView in EditText not get onfocus?


            
ScrollView page layout to drop down to see the other controls, edittext, button kind of control.
The current situation is that when the page is switched, the first edittext will automatically get the focus, resulting in a drop-down ScrollView not. Moreover, the first of my program edittext.enable = false; means that this edittext always get focus.
To how to make ScrollView can drop down it? The first page is displayed when this is possible, then edittext yet focus, page switching over to die.
Reply:
I have encountered this problem is not solved
Reply:

Reply:
You can use the mouse touches the
my time simulationReal machine without a mouse ah. . . . .
Reply:
I was in the outermost layer of the entire layout plus a
android: focusable = "true"
android: focusableInTouchMode = "true"
Thus, when I touch the slide to grab the focus from EditText over.
Test scrollView can pull down the full show.

No comments:

Post a Comment