private void hidePostCaptureAlert() {
   int[] pickIds = {R.id.btn_retake, R.id.btn_done, R.id.btn_cancel};
   for (int id : pickIds) {
     CameraButton button = (CameraButton) findViewById(id);
     button.setVisibility(View.GONE);
   }
   findViewById(R.id.shutter_button).setVisibility(View.VISIBLE);
   ((CameraFlashButton) findViewById(R.id.flash_button)).setVisibility(View.VISIBLE);
 }
 private void showPostCaptureAlert() {
   mStatus = IMAGE_DISPLAYED;
   findViewById(R.id.camera_progress_bar).setVisibility(View.GONE);
   doAttach();
   mStatus = IDLE;
   int[] pickIds = {R.id.btn_retake, R.id.btn_done, R.id.btn_cancel};
   for (int id : pickIds) {
     CameraButton button = (CameraButton) findViewById(id);
     button.setVisibility(View.VISIBLE);
   }
 }