Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. edittext.setInputType(InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS);
  2.  
  3. android:inputType="textNoSuggestions"
  4.  
  5. android:inputType="textNoSuggestions|textVisiblePassword"
  6.  
  7. edittext.setInputType(InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS | InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD);
  8.  
  9. android:inputType="textNoSuggestions|textVisiblePassword"
  10.  
  11. @Override
  12. public void onActivityCreated(Bundle savedInstanceState) {
  13. super.onActivityCreated(savedInstanceState);
  14. EditText editTextUsername = (EditText)dialogView.findViewById(R.id.txtUsername);
  15. editTextUsername.setInputType(InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS);
  16. }
  17.  
  18. android:inputType="textCapSentences|textNoSuggestions|textEmailAddress"
  19.  
  20. android:minLines="10"
  21. android:inputType="textNoSuggestions|textMultiLine|textVisiblePassword"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement