实现原理:
1.地下是一个Popupwindow(里面填充多个ImageView)
2. 每个ImageView点击的时候. 触发 onKeyDown和onKeyUp
int keyCode =KeyEvent.KEYCODE_DEL; //这里是退格键linux oracle利用 SQL*Loader数据导入文件数据
KeyEvent keyEventDown = new KeyEvent(KeyEvent.ACTION_DOWN, keyCode);
KeyEvent keyEventUp = new KeyEvent(KeyEvent.ACTION_UP, keyCode);
editNumber.onKeyDown(keyCode, keyEventDown); // editNumber 是ImageView
editNumber.onKeyUp(keyCode, keyEventUp);
posted on 2011-09-20 10:19
墙头草 阅读(206)
评论(0) 编辑 收藏