且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何删除EditText中的Android自动建议下划线?

更新时间:2022-06-09 06:48:19

在getText()之前使用此方法. 这是最简单,最正式的方式.

Use this just before you getText(). This is the most straightforward and the official way.

 edittext.clearComposingText();