final ClearEditText newPwdTextGropuSure = new ClearEditText(this); newPwdTextGropuSure.setHint(R.string.more_input_new_pwd_sure); newPwdTextGropuSure.setPadding(10, 10, 10, 10); newPwdTextGropuSure.setSingleLine(true); newPwdTextGropuSure.setBackgroundColor(Color.WHITE); newPwdTextGropuSure.setFilters(new InputFilter[]{new InputFilter.LengthFilter(Define.DEVICE_NAEM_LENGTH)}); final EditText passwordText1 = newPwdTextGropuSure; passwordText1.setTransformationMethod(PasswordTransformationMethod.getInstance()); passwordText1.setTypeface(Typeface.SANS_SERIF);
网友评论