android - Set cursor from EditText1 to EditText2 -


I want to move the cursor from an EditText1 to an EditText2, when the button will reset all EditTexts on the action, I Tried to do this but it does not work:

  last button button = 2 (button) findViewById (R.id.button2); Button2.setOnClickListener (new View.OnClickListener () {public void onClick (see v) {vol.setText (""), kil.setText (""); cons.setText (""); Editable e = vol.getText (); Int Position = Wall.line (); Selection.Set Selection (E, Position);}});   

Any ideas to solve this problem?

Write the next feeling for your editing test. Look for Focus or Asset Focus etc. I have never done what you are trying to do, but I will start there.

Comments