android edittext password hint字体不同于别的字体的解决
16lz
2021-01-23
EditText password = (EditText) findViewById(R.id.register_password_text);password.setTypeface(Typeface.DEFAULT);password.setTransformationMethod(new PasswordTransformationMethod());此外需要去除xml中的
android:password="true"
语句 来源于 stackoverflow
更多相关文章
- android switch语句case expressions must be constant expressi
- android View根据自己获取焦点的情况执行语句
- Android常用语句收集
- android 由entity创建创建表的sql语句
- android room自动生成sql语句
- Android - Android Studio 自动(auto)添加import 语句
- 在Android library中不能使用switch-case语句访问资源ID
- 【简单的学生管理界面】Android的if语句中有字符串判断
- Android Sqlite数据库中判断某个表是否存在的SQL语句