android EditText增加删除事件


private void keyPressed() {
        KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DEL);
        mDigits.onKeyDown( KeyEvent.KEYCODE_DEL, event);
    }


你可能感兴趣的:(android EditText增加删除事件)