more imeFlags

This commit is contained in:
Kyle Spearrin 2019-06-03 17:23:50 -04:00
parent 8c54062c44
commit 4f990ffe96
3 changed files with 7 additions and 2 deletions

View file

@ -20,7 +20,8 @@ namespace Bit.Droid.Renderers
{ {
Control.SetPadding(Control.PaddingLeft, Control.PaddingTop - 10, Control.PaddingRight, Control.SetPadding(Control.PaddingLeft, Control.PaddingTop - 10, Control.PaddingRight,
Control.PaddingBottom + 20); Control.PaddingBottom + 20);
Control.ImeOptions = Control.ImeOptions | (ImeAction)ImeFlags.NoPersonalizedLearning; Control.ImeOptions = Control.ImeOptions | (ImeAction)ImeFlags.NoPersonalizedLearning |
(ImeAction)ImeFlags.NoExtractUi;
} }
} }
} }

View file

@ -20,7 +20,8 @@ namespace Bit.Droid.Renderers
{ {
Control.SetPadding(Control.PaddingLeft, Control.PaddingTop - 10, Control.PaddingRight, Control.SetPadding(Control.PaddingLeft, Control.PaddingTop - 10, Control.PaddingRight,
Control.PaddingBottom + 20); Control.PaddingBottom + 20);
Control.ImeOptions = Control.ImeOptions | (ImeAction)ImeFlags.NoPersonalizedLearning; Control.ImeOptions = Control.ImeOptions | (ImeAction)ImeFlags.NoPersonalizedLearning |
(ImeAction)ImeFlags.NoExtractUi;
} }
} }
} }

View file

@ -1,4 +1,5 @@
using Android.Content; using Android.Content;
using Android.Views.InputMethods;
using Bit.Droid.Renderers; using Bit.Droid.Renderers;
using Xamarin.Forms; using Xamarin.Forms;
using Xamarin.Forms.Platform.Android; using Xamarin.Forms.Platform.Android;
@ -24,6 +25,8 @@ namespace Bit.Droid.Renderers
magImage.LayoutParameters = new Android.Widget.LinearLayout.LayoutParams(0, 0); magImage.LayoutParameters = new Android.Widget.LinearLayout.LayoutParams(0, 0);
} }
catch { } catch { }
Control.SetImeOptions(Control.ImeOptions | (ImeAction)ImeFlags.NoPersonalizedLearning |
(ImeAction)ImeFlags.NoExtractUi);
} }
} }
} }