Unset the input type flag using edittext.getInputType() & ~InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD and set the result of that operation as the input type using edittext.setInputType()
Kris Skarbø wrote: > Hello, > im having problems removing constants from TextViews' InputType. > > Scenario: > EditText field with password and a CheckBox which toggles Show/Dont > Show Password. > > // Set visible password > [EditText].setInputType(InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD); > > How do I remove the constant? > > - Kris > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

