-
Notifications
You must be signed in to change notification settings - Fork 47
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
Show password for EditTextPreference? #181
Comments
I'll look into it. |
Technically it'd be possible to add a checkbox to the dialog that shows "Show password" (or whatever the dev sets). |
I prefer the solution in #182 or using Google's material design library. This checkbox looks kinda retro. |
If you insist on using this solution, I would suggest these changes:
|
Could you send me a screenshot of the screen in question? The emulator's AP has no security settings, so cannot see what it looks like. |
Wouldn't it just work if the user set the |
Hmm yeah I guess that works too. I didn't know that flag was a thing. |
I think, as an extra, the "Show password" checkbox could be placed in the dialog with an attribute, like Or, the other option would be to enable it by setting the text for it, like |
Why not use |
Hmm okay I don't see an easy way to inflate and use a Reopening this... |
The problem is that it needs the material components package which is huge. On the other hand, the checkbox solution needs no extra dependencies. |
I'm thinking about an option that allows user to pass in edittext layout file, like |
There is an easy way to do this but it requires Google's material design library. What do you think?
UPDATE: There is another way, which is to always show password, like Wi-Fi AP settings in Android Pie.
The text was updated successfully, but these errors were encountered: