Android set focus on EditText or Button programmatically




Asked on August 13, 2015
How to set focus on EditText or Button programmatically?


Replied on August 13, 2015
EditText and Button etc has methods requestFocus() that can be called as

editName.requestFocus();

button.requestFocus();

Check it.


Write Answer












©2024 concretepage.com | Privacy Policy | Contact Us