1edittext.setOnTouchListener(new OnTouchListener() {
2 @Override
3 public boolean onTouch(View v, MotionEvent event) {
4 if(MotionEvent.ACTION_UP == event.getAction()) {
5 mQuaternion_1.setText("" + mQ1);
6 }
7
8 return true; // return is important...
9 }
10});