Home  >  Forum  >  Android
Post New Query

Android set focus on EditText or Button programmatically


joined on
August 12,2015
Asked on August 13,2015
How to set focus on EditText or Button programmatically?
joined on
November 09,2013
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



Sitewide-Feb4of4234x60





Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us