Code example for ActionBar

Methods: show

0
     * events to the appropriate gesture detector until one accepts them. 
     */ 
    @Override 
    public boolean onTouchEvent(MotionEvent event) {
        if (event.getPointerCount() == 3) {
            mActionBar.show();
        } 
 
        boolean handled = mScroller.onTouchEvent(event) || mZoomer.onTouchEvent(event);
 
        if (event.getPointerCount() == 1) {
            float x = event.getRawX();
            float y = event.getY();
 
            switch (event.getActionMasked()) {
                case MotionEvent.ACTION_DOWN:
                    Log.i("mouse", "Found a finger");
                    mMouseButton = BUTTON_UNDEFINED;
                    mMousePressed = false;
                    break;