I do this in C#/Xamarin and what works for me on the code side (I dynamically build up forms) is using the following:
EditText edittext1 = new EditText(view.Context);
edittext1.InputType = Android.Text.InputTypes.NumberFlagDecimal;
Hope it helps someone