How to place cursor to certain EditText box?

android

Solution

on your button's `onClick()` put..

thirdEditText.requestFocus();

Something like,

button.setOnClickListener(new OnClickListener() {

        public void onClick(View v) {
            thirdEditText.requestFocus(); 
        }
    });

Problem

My XML contains Five `EditText` box and One Button. My cursor is now pointed to the First `EditText` box. How can I click a button to place the cursor automaticly to Third `EditText` box. Thank you!

Original source