1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-06 09:10:50 +01:00

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