code: private void slideOpen() {
          TranslateAnimation slideUp = new TranslateAnimation(Animation.RELATIVE_TO_SELF, 0, Animation.RELATIVE_TO_SELF, 0, Animation.RELATIVE_TO_SELF, 1.0f, Animation.RELATIVE_TO_SELF, 0f);
          slideUp.setDuration(500);
          slideUp.setInterpolator(new AccelerateInterpolator());
          ((ViewGroup) getWindow().getDecorView()).getChildAt(0).startAnimation(slideUp);
          super.show();
      }
docs: </p> Opens the dialog with a translation animation to the content view </p>