Browse Source

layout: Removed redundant swipe refresh layout for the ActivityList.

Moved the empty_list layout to the root of the FrameLayout.
ardevd 7 years ago
parent
commit
bcc2d2f382
1 changed files with 1 additions and 11 deletions
  1. 1 11
      src/main/res/layout/activity_list_layout.xml

+ 1 - 11
src/main/res/layout/activity_list_layout.xml

@@ -61,17 +61,7 @@
                     android:visibility="visible"/>
 
             </android.support.v4.widget.SwipeRefreshLayout>
-
-            <android.support.v4.widget.SwipeRefreshLayout
-                android:id="@+id/swipe_containing_empty"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:footerDividersEnabled="false"
-                android:visibility="visible">
-
-                <include layout="@layout/empty_list"/>
-            </android.support.v4.widget.SwipeRefreshLayout>
-
+            <include layout="@layout/empty_list"/>
         </FrameLayout>
 
         <android.support.design.widget.BottomNavigationView