ime NoPersonalizedLearning on entry and editor

This commit is contained in:
Kyle Spearrin 2019-05-31 16:47:54 -04:00
parent e0e69920e9
commit b191542ab7
2 changed files with 4 additions and 0 deletions

View file

@ -1,4 +1,5 @@
using Android.Content;
using Android.Views.InputMethods;
using Bit.Droid.Renderers;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
@ -19,6 +20,7 @@ namespace Bit.Droid.Renderers
{
Control.SetPadding(Control.PaddingLeft, Control.PaddingTop - 10, Control.PaddingRight,
Control.PaddingBottom + 20);
Control.ImeOptions = Control.ImeOptions | (ImeAction)ImeFlags.NoPersonalizedLearning;
}
}
}

View file

@ -1,4 +1,5 @@
using Android.Content;
using Android.Views.InputMethods;
using Bit.Droid.Renderers;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
@ -19,6 +20,7 @@ namespace Bit.Droid.Renderers
{
Control.SetPadding(Control.PaddingLeft, Control.PaddingTop - 10, Control.PaddingRight,
Control.PaddingBottom + 20);
Control.ImeOptions = Control.ImeOptions | (ImeAction)ImeFlags.NoPersonalizedLearning;
}
}
}