How to set Password text to be dots instead of characters entered? C#

JPHochbaumJPHochbaum USMember ✭✭✭

Basically:

this.sPassword = FindViewById<EditText>(Resource.Id.passwordInput);

Then

this.sPassword.MakeDottedText()....

Been trying to find out how to do this.

Tagged:

Best Answer

Answers

  • JPHochbaumJPHochbaum USMember ✭✭✭

    Thanks!

  • MichalSchmudeMichalSchmude USMember

    In my case this work on xamarin:

    var UserToolValue = FindViewById(Resource.Id.userToolValue);

    UserToolValue.InputType = InputTypes.TextVariationNormal | InputTypes.ClassText; //normal text
    UserToolValue.InputType = InputTypes.NumberVariationNormal | InputTypes.ClassNumber;// only number

    Input Class is important.

Sign In or Register to comment.