Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Window.SetSoftInputMode seems to not working

$
0
0

I added the code below in MainActivity of my Android project but it still displays the virtual keyboard, any idea?

`protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
this.Window.SetSoftInputMode(SoftInput.StateAlwaysHidden);

}`


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>