@Override
 boolean isDetailShowing() {
   return (detail.getVisibility() == View.VISIBLE);
 }