0
移动光标,我能够通过使用的Android EditText上没有显示默认的键盘
setOnTouchListener(new OnTouchListener() {
@Override
public boolean onTouch(View v, MotionEvent event) {
Selection.setSelection(getText(), length());
return true;
}
});
这光标不移动到点击位置隐藏默认的键盘。我需要将光标移到点击的位置。
请参考[this](http://stackoverflow.com/a/14185131/5067493) –