예제 #1
0
 public bool OnEditorAction(TextView v, Android.Views.InputMethods.ImeAction actionId, KeyEvent keyEvent)
 {
     // don't allow searching until the map is valid (which it should be by now)
     if (Map != null)
     {
         SearchPage.ShouldReturn( );
     }
     return(true);
 }
예제 #2
0
        bool HandleEditorAction(Android.Views.InputMethods.ImeAction actionCode)
        {
            if (CurrentFocus != null && CurrentFocus._controller != null)
            {
                CurrentFocus._controller.Return();
                return(true);
            }

            return(false);
        }
예제 #3
0
        public bool OnEditorAction(TextView v, Android.Views.InputMethods.ImeAction actionId, KeyEvent e)
        {
            try
            {
                if (actionId == Android.Views.InputMethods.ImeAction.Done)
                {
                    if (m_Editing)
                    {
                        Save();
                        return(false);
                    }

                    AddNewTask();

                    return(Settings.KeepKeyboardUp);
                }
            }
            catch (Exception)
            {
                //throw;
            }

            return(false);
        }