Repository: incubator-taverna-mobile
Updated Branches:
  refs/heads/master fb8e0981b -> d73dc2005


add swipe refresh in layout


Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/commit/78afb477
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/tree/78afb477
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/diff/78afb477

Branch: refs/heads/master
Commit: 78afb477511fc974d46ac7d141825030f389a36f
Parents: fb8e098
Author: Sagar <[email protected]>
Authored: Tue Jul 5 23:07:10 2016 +0530
Committer: Sagar <[email protected]>
Committed: Tue Jul 5 23:07:10 2016 +0530

----------------------------------------------------------------------
 app/src/main/res/layout/fragment_dashboard.xml | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/blob/78afb477/app/src/main/res/layout/fragment_dashboard.xml
----------------------------------------------------------------------
diff --git a/app/src/main/res/layout/fragment_dashboard.xml 
b/app/src/main/res/layout/fragment_dashboard.xml
index 3cd17a4..f3b691a 100644
--- a/app/src/main/res/layout/fragment_dashboard.xml
+++ b/app/src/main/res/layout/fragment_dashboard.xml
@@ -21,15 +21,19 @@
         android:layout_height="match_parent"
         android:background="@color/grey_background">
 
-
-    <android.support.v7.widget.RecyclerView
-            android:id="@+id/rvDashboard"
+    <org.apache.taverna.mobile.utils.ScrollChildSwipeRefreshLayout
+            android:id="@+id/swipe_refresh"
             android:layout_width="match_parent"
-            android:layout_height="match_parent"
-            android:clipToPadding="false"
-            android:padding="@dimen/item_offset"
-            android:visibility="gone"/>
+            android:layout_height="match_parent">
 
+        <android.support.v7.widget.RecyclerView
+                android:id="@+id/rvDashboard"
+                android:layout_width="match_parent"
+                android:layout_height="match_parent"
+                android:clipToPadding="false"
+                android:padding="@dimen/item_offset"
+                android:visibility="gone"/>
+    </org.apache.taverna.mobile.utils.ScrollChildSwipeRefreshLayout>
 
     <ProgressBar
             android:id="@+id/progress_circular"

Reply via email to