Пример #1
0
        private void OnActionChosen(object sender, ActionChosenEventArgs e)
        {
            EditText editText = (EditText)FindViewById(Resource.Id.editText);
            string   final    = ActionResponder.ActionChosen(e.Action, editText.Text);

            editText.Text = final;
            editText.SetSelection(editText.Text.Length);

            if (e.Action.Type == InputAction.ActionType.TypeCharacter)
            {
                mTTRView.TypeLetter(e.Action.Character);
            }
        }
Пример #2
0
 private void OnActionChosen(object sender, ActionChosenEventArgs e)
 {
     ActionResponder.ActionChosen(e.Action, CurrentInputConnection);
 }