随笔 - 245  文章 - 0  评论 - 11  阅读 - 50万

随笔分类 -  EditText

EditText设置只允许输入文字、拼音、数字
摘要:给EditText添加上监听,根据自己的需求,在相应的监听上写上相应的功能 tv_editText = findViewById(R.id.tv_editText); tv_editText.addTextChangedListener(new TextWatcher() { @Override p 阅读全文
posted @ 2022-09-06 16:15 巫山老妖 阅读(381) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示