Changed layout location of swipe refresh

This commit is contained in:
Juha Heinanen
2020-08-30 11:03:48 +03:00
parent ae5fd15d32
commit 1dd9c3473f
+7 -7
View File
@@ -6,17 +6,17 @@
android:layout_marginBottom="10dp" android:layout_marginBottom="10dp"
tools:context=".MainActivity"> tools:context=".MainActivity">
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/swipeRefresh"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ScrollView <ScrollView
android:id="@+id/scrollView" android:id="@+id/scrollView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:fillViewport="true" > android:fillViewport="true" >
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/swipeRefresh"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<RelativeLayout <RelativeLayout
android:id="@+id/mainActivityLayout" android:id="@+id/mainActivityLayout"
android:layout_width="fill_parent" android:layout_width="fill_parent"
@@ -189,6 +189,8 @@
</RelativeLayout> </RelativeLayout>
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
</ScrollView> </ScrollView>
<ImageButton <ImageButton
@@ -254,6 +256,4 @@
android:contentDescription="@string/dialpad" > android:contentDescription="@string/dialpad" >
</ImageButton> </ImageButton>
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
</RelativeLayout> </RelativeLayout>