-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TextView] inputType=textPassword + singleLine=true misbehaves #43
Comments
Thanks for creating a new issue for this. I should be able to take a look in the next few days. |
@ioterateam I looked into this and am unable to reproduce the issue. There's a test here that asserts rather convincingly that setting At this point I'm pretty sure it's not a bug with Paris but rather an issue on your end. I would recommend trying it out with a simpler style that doesn't change any other attributes. How are you currently verifying that the input type is being set to a visible password rather than the standard one? Note that the last character of the password might be visible even if the input type is |
i found a bug that makes it visible, it's because of attribute |
Thanks for investigating some more, I'm able to repro now. I'll look into this soon. |
@ioterateam I believe I was able to fix the issue. In some ways it's an Android bug, because: textView.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_PASSWORD);
textView.setSingleLine(true); Doing this programmatically (in that order) will also break the password input type. However I published a new snapshot so it should update automatically for you (the previous version might stay cached for a day or so). |
Currently i'm using
And i'm getting error value when styling my
EditText
programmatically, it give metextVisiblePassword
instead oftextPassword
Here is my code in my fragment
Style that i used in styles.xml
Please fix this bug, thanks
The text was updated successfully, but these errors were encountered: