The method setBackground(Drawable) in the type View is not applicable for the arguments (int)
btnLookPwd.setBackground(R.drawable.open_eye);
问题解决:
btnLookPwd.setBackgroundResource(R.drawable.open_eye);
The method setBackground(Drawable) in the type View is not applicable for the arguments (int)
btnLookPwd.setBackground(R.drawable.open_eye);
问题解决:
btnLookPwd.setBackgroundResource(R.drawable.open_eye);