code: public boolean removeHeaderView(View v) {
          if (mHeaderViewInfos.size() > 0) {
              boolean result = false;
              ListAdapter adapter = getAdapter();
              if (adapter != null && ((HeaderViewGridAdapter) adapter).removeHeader(v)) {
                  result = true;
              }
              removeFixedViewInfo(v, mHeaderViewInfos);
              return result;
          }
          return false;
      }
docs: Removes a previously-added header view.
  
  @param v The view to remove
  @return true if the view was removed, false if the view was not a header
  view