Hello,

Sorry to say, this is a bug in MfA. We created enum type for 
android.text.InputType constants as Android.Text.InputTypes[*1], but we 
forgot to update the type of the property you were trying to use.

So far, please use this enum and cast to int before assigning to the field.

We are in the process of reviewing the entire API in some new process 
and picking up a bunch of methods and constants so that we don't miss 
lots of this sort of mismatches. Things will become much better in some 
next releases.

[*1] http://docs.mono-android.net/?link=T%3aAndroid.Text.InputTypes

Atsushi Eno

> I'm trying to set the InputType of a text view:
>
>      *editTextAuthKey.InputType = 144; //
> TYPE_TEXT_VARIATION_VISIBLE_PASSWORD 144*
>
> I would rather use a constant definition from the namespace.
>
> Intellisense says it should be available in the namespace:
>
>      *Android.Views.InputMethods.EditorInfo.InputType*
>
> But when I navigate to Android.Views.InputMethods.EditorInfo I don't see any
> child of EditorInfo called "InputType"?
>
> Am I missing something obvious?
>
> --
> View this message in context: 
> http://mono-for-android.1047100.n5.nabble.com/Android-InputType-constants-namespace-tp5054578p5054578.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
>
>
>

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to