title: Swipe to refresh Icon is not shown properly
body: <p>I am using a <code>ListView</code> and refreshing it when swiping down with <code>SwipeRefresh</code>, it works fine till here. The problem occurs when I try to set a <code>TextView</code> on <code>mListview.setEmptyView()</code> the <code>Refresh Icon</code> is not shown while swiping.</p>
  
  <p>It looks like it is under the <code>TextView</code>. However if I don't put that <code>TextView</code> on the same XML it works fine, but I need to show a message when a list is empty. <strong>What is causing this behaviour?</strong></p>
  
  <p>Here is the layout I use:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical"
      android:paddingLeft="@dimen/padding_light"
      android:paddingRight="@dimen/padding_light"&gt;
  
      &lt;android.support.v4.widget.SwipeRefreshLayout
          android:id="@+id/swipeRefreshLayout"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_alignParentTop="true"&gt;
  
          &lt;ListView
              android:id="@+id/mListView"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent" /&gt;
  
      &lt;/android.support.v4.widget.SwipeRefreshLayout&gt;
  
      &lt;TextView
          android:id="@+id/swipeToRefreshTextView"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true"
          android:layout_marginBottom="15dp"
          android:gravity="center_horizontal"
          android:text="@string/msg_swipe_to_refresh"
          android:visibility="gone" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>Here is the Refresh listener:</p>
  
  <pre><code>//Listeners
  mSwipeRefresh.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() {
      @Override
      public void onRefresh() {
  
          //Here I do some job
          beaconScanSwipeRefresh.setRefreshing(false);
      }
  });
  </code></pre>
  
  <p>Here is where I set the adapter of <code>ListView</code> and onEmptyView:</p>
  
  <pre><code>//UI
  mListLv = (ListView) view.findViewById(R.id.mListView);
  mSwipeRefresh=(SwipeRefreshLayout)view.findViewById(R.id.swipeRefreshLayout);
  swipeToRefreshTv = (TextView)view.findViewById(R.id.swipeToRefreshTextView);
  
  //Set Adapter
  mListLv.setAdapter(mBaseAdapter);
  
  //Set Message when list is empty
  mListLv.setEmptyView(swipeToRefreshTv);
  </code></pre>
  
  <p>I have tried to move my <code>TextView</code> inside <code>&lt;android.support.v4.widget.SwipeRefreshLayout</code> tags or above them. Still same result.</p>