ステータスバーに基づいてアクションを検出したい。実はこのセクションの権利を制限したいのです。私は試した
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;
}