... following example replaces the return key with a "GO" key:
The XML
The Java
EditText location = (EditText)findViewById(R.id.editTextLoc);
location.setOnEditorActionListener(new TextView.OnEditorActionListener() ...
... with a custom XML layout
Set the hint text of a specific user input field (EditText)
Store the input in a TextView (invisible or visible) held in the calling XML
/* 201411041253 */
private String ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.