// << rte-custom-image-picker-add-images-to-picker-toolbar-item

        protected override void OnParentSet()
        {
            base.OnParentSet();

            if (Device.RuntimePlatform == Device.Android)
            {
                if (this.Parent != null)
                {
                    if (this.lastInputMode == AndroidSpecific.WindowSoftInputModeAdjust.Unspecified)
                    {
                        this.lastInputMode = GetSoftInputMode();
                    }

                    SetSoftInputMode(AndroidSpecific.WindowSoftInputModeAdjust.Resize);
                }
                else
                {
                    SetSoftInputMode(this.lastInputMode);
                }
            }
        }
 private static void SetSoftInputMode(AndroidSpecific.WindowSoftInputModeAdjust inputMode)
 {
     AndroidSpecific.Application.SetWindowSoftInputModeAdjust(Application.Current, inputMode);
 }