How to take Password Text box in Xamarin using C# for Android -


I take the text box for my Xamarin App to get the text box using C # Mobile Application.So The main need to create two text edit zodiac .xml.They are as follows

  & lt; EditText Android:. Id = "@ + id / edittext" Android: layout_width = "match_parent" Android: layout_height = "wrap_content" & gt; & Lt; Requestfocus / & gt; & Lt; / EditText> & Lt; Android: layout_height = "wrap_content" android: inputType = "textVisiblePassword" / & gt; EditText: Android: password = "true" Android: id = "@ + id / txtPassword" android: layout_width = "fill_parent" android: layout_height = "wrap_content" & Lt; Requestfocus / & gt;   

And I'm using this way for a password on my activity:

  on EditPassword = new EditText (this); Edit Password.Id = Resource.Id.txtPassword;   

But password is visible in the text box instead of normal **************************

After the

you should use "IsPassword = true" in your entry < / P>

For example:.

  var password = new entry {placeholder = "password", iSexword = true};    

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -