void anim_AnimationEndDown(object sender, Android.Views.Animations.Animation.AnimationEndEventArgs e)
        {
            mIsAnimating = false;
            mSearchEditText.RequestFocus();
            InputMethodManager inputManager = (InputMethodManager)this.GetSystemService(Context.InputMethodService);

            inputManager.ShowSoftInput(mSearchEditText, ShowFlags.Implicit);
        }
        void anim_AnimationEndUp(object sender, Android.Views.Animations.Animation.AnimationEndEventArgs e)
        {
            mIsAnimating = false;
            mSearchEditText.ClearFocus();
            InputMethodManager inputManager = (InputMethodManager)this.GetSystemService(Context.InputMethodService);

            inputManager.HideSoftInputFromWindow(this.CurrentFocus.WindowToken, HideSoftInputFlags.NotAlways);
        }
Example #3
0
        void anim_AnimationEndDown(object sender, Android.Views.Animations.Animation.AnimationEndEventArgs e)
        {
            mSearch.RequestFocus();
            InputMethodManager inputMethodManager = this.GetSystemService(Context.InputMethodService) as InputMethodManager;

            inputMethodManager.ShowSoftInput(mSearch, ShowFlags.Forced);
            inputMethodManager.ToggleSoftInput(ShowFlags.Forced, HideSoftInputFlags.ImplicitOnly);
            mIsAnimating = false;
        }
        private void Anim_AnimationEndUp(object sender, Android.Views.Animations.Animation.AnimationEndEventArgs e)
        {
            mIsAnimating = false;


            if (mSearch.HasFocus == true)
            {
                InputMethodManager inputManager = (InputMethodManager)mContext.GetSystemService(Context.InputMethodService);
                inputManager.ToggleSoftInput(0, 0);

                mSearch.ClearFocus();
            }
        }
 private void Anim_AnimationEndDown(object sender, Android.Views.Animations.Animation.AnimationEndEventArgs e)
 {
     mIsAnimating = false;
 }
 private void DeleteControl(object sender, Android.Views.Animations.Animation.AnimationEndEventArgs e)
 {
     label.Dispose();
     Control.RefreshDrawableState();
 }