网上说的很复杂,那些称之为解决方案的我都试过,都不行 从头到尾只需要设置一个属性即可 android:enabled="false" 代码中如想转换可编辑状态,只需要设置et . setEnabled(true)即可