cursor position issue in activity
I have created one activity i.e loginpage. it contains some edit tex开发者_JS百科tboxes, when I run the application the cursor is defaultly going to last edit text field. My requirement is cursor should be defaultly in first edit text field.
EditText yourEdittext1=(EditText)findview...();
EditText yourEdittext2=(EditText)findview...();
yourEdittext1.requestFocus();
精彩评论