public void clearAttachment(){
  mAttachment.setImageBitmap(null);
  mAttachmentLayout.setVisibility(View.GONE);
  updateButtonState();
}

public void clearAttachment ( ) { mAttachment . setImageBitmap ( null ) ; mAttachmentLayout . setVisibility ( View . GONE ) ; updateButtonState ( ) ; }
clears the image from the attachment view .
