如何获取EditText里输入的值

EditText.getText().getString().trim();

trim()函数的功能是去掉首尾空格
posted @ 2015-01-15 14:37  微笑以后  阅读(2940)  评论(0编辑  收藏  举报