title: How to disable touch events in SwipeRefreshLayout?
body: <p>I use <code>SwipeRefreshLayout</code> by Google. and I have a few questions.</p>
  
  <ol>
  <li>how to block for touch screen at the time when it is active <code>onRefresh()</code>?</li>
  <li><p>how to make progress on the spinning center of the screen instead of the top, during the update?</p>
  
  <pre><code>swipeLayout = (SwipeRefreshLayout) v.findViewById(R.id.swipe_status_info);
  swipeLayout.setColorSchemeColors(Color.RED, Color.GREEN, Color.BLUE, Color.CYAN);
  swipeLayout.setOnRefreshListener(this);
  
  
  @Override
  public void onRefresh() {
      clearTable(holidayTable);
      clearTable(cityayTable);
      setData();
  }
  </code></pre></li>
  </ol>