我想根据状态栏检测动作。其实我想限制这部分的权利。我试过了
mGrid.setOnTouchListener(new OnTouchListener(){
public boolean onTouch(View arg0, MotionEvent arg1){
int x = (int) arg1.getX();
int y = (int) arg1.getY();
Log.d("Screen", String.valueOf(x));
Log.d("Screen", String.valueOf(y));
switch(arg1.getAction()){
case MotionEvent.ACTION_OUTSIDE:
Log.d("tototootot", "acces dinied");
//case MotionEvent.
}
return true;
}