1 | static EditText aPasswordInput() { |
2 | EditText t = aTextInput(); |
3 | t.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_PASSWORD); |
4 | ret t; |
5 | } |
6 | |
7 | static EditText aPasswordInput(S text) { |
8 | ret aSetText(aPasswordInput(), text); |
9 | } |
Began life as a copy of #1023325
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023326 |
Snippet name: | aPasswordInput - input hidden password on Android |
Eternal ID of this version: | #1023326/1 |
Text MD5: | c46b7d352a1c860371f1c61a9dbb1d4b |
Author: | stefan |
Category: | javax / android |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-06-06 12:23:30 |
Source code size: | 252 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 270 / 303 |
Referenced in: | [show references] |