Answers for "set password visible in android"

2

set password visible in android

button.setOnTouchListener(new View.OnTouchListener() {
        @Override
        public boolean onTouch(View view, MotionEvent motionEvent) {
            if(button.isPressed()) {
                upass.setInputType(InputType.TYPE_TEXT_VARIATION_PASSWORD);
                return true;
            }
            return true;
        }
   });
Posted by: Guest on May-27-2020

Code answers related to "set password visible in android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language