Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1023326 // aPasswordInput - input hidden password on Android

JavaX fragment (include)

static EditText aPasswordInput() {
  EditText t = aTextInput();
  t.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_PASSWORD);
  ret t;
}

static EditText aPasswordInput(S text) {
  ret aSetText(aPasswordInput(), text);
}

Author comment

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: 269 / 302
Referenced in: [show references]