Skip to content

Instantly share code, notes, and snippets.

@jheerman
Created September 29, 2012 01:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jheerman/3802802 to your computer and use it in GitHub Desktop.
Save jheerman/3802802 to your computer and use it in GitHub Desktop.
M4A TextView EditorAction Implementation
var editText = FindViewById<EditText>(Resource.Id.search);
editText.EditorAction += (object sender, TextView.EditorActionEventArgs e) => {
if (e.ActionId == ImeAction.Search) {
//do something here when search action button pressed
}
return;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment