Code example for ActionBar

Methods: getHeight

0
        mGLRootView = (GLRootView) findViewById(R.id.gl_root_view);
    } 
 
    public int getActionBarHeight() { 
        ActionBar actionBar = getActionBar();
        return actionBar != null ? actionBar.getHeight() : 0;
    } 
 
    protected void onStorageReady() { 
        if (mAlertDialog != null) {
            mAlertDialog.dismiss();
            mAlertDialog = null;
            unregisterReceiver(mMountReceiver);
        } 
    } 
 
    @Override 
    protected void onStart() { 
        super.onStart(); 
        if (getExternalCacheDir() == null) {
            OnCancelListener onCancel = new OnCancelListener() {