我在EditText中有一个ImageView,如何在edittext中输入时向下移动imageview,如何在按下后如何在光标后添加imageview"输入"键?
谢谢!
@Override
public void onTextChanged(CharSequence s, int start, int before, int count) {
mEditPost.setSelection(mEditPost.getText().length());
if (s.length() > 0 && s.subSequence(s.length()-1, s.length()).toString().equalsIgnoreCase("\n")) {
} else if (count == 0) {
_send.setImageResource(R.drawable.ic_send_disable);
}
}