I want to hide the soft keyboard for an EditText control. Found a sample that
says to do this:
var inputManager =
(InputMethodManager)GetSystemService(InputMethodService);
inputManager.HideSoftInputFromWindow(input.WindowToken,
HideSoftInputFlags.None);
And that would be fine, except Visual Studio tells me there ain't no
Android.Content.Context.GetSystemService, API documentation
(http://androidapi.xamarin.com/index.aspx?link=M%3AAndroid.Content.Context.GetSystemService%28System.String%29)
be damned.
What am I missing? I'm developing for Android 4.0 using the latest official
Mono for Android.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Android-Content-Context-GetSystemService-where-tp5711019.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid