Stop keypad from appearing on EditText mono for android app

Mono for android solution. Tested on android v2.3
[code]
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);

// Create your application here
SetContentView(Resource.Layout.MyLayout);
Window.SetSoftInputMode (SoftInput.StateAlwaysHidden);
}
[/code]

Get Free Email Updates!

Signup now and receive free offers, discounts & coupon codes

I will never give away, trade or sell your email address. You can unsubscribe at any time.

Leave a Reply

Your email address will not be published. Required fields are marked *

CommentLuv badge