xamarin android edittext password

Phunction 206 Reputation points
2022-06-08T17:05:15.813+00:00

I have run into a weird problem with android 12, my previous working edittext to get a password is not working properly.

EditText Pass = FindViewById<EditText>(Resource.Id.login_password);

Pass.Text now returns small dots and the last typed character.

I have tried the following:
android:inputType="text|textPassword"
android:password="true"

and combinations thereof, but I cannot find a way to retrieve the actual entered text unless I change to a plain text box.

Not sure what changed.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,293 questions
{count} votes