1
0

Add swipe refresh to grade fragment (#287)

This commit is contained in:
Rafał Borcz
2019-03-20 20:45:26 +01:00
committed by Mikołaj Pich
parent 8db73e9459
commit 575e244b3a
6 changed files with 57 additions and 11 deletions

View File

@ -17,13 +17,19 @@
app:tabTextColor="@android:color/white"
tools:visibility="visible" />
<androidx.viewpager.widget.ViewPager
android:id="@+id/gradeViewPager"
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/gradeSwipe"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="48dp"
android:visibility="invisible"
tools:visibility="visible" />
android:layout_marginTop="48dp">
<androidx.viewpager.widget.ViewPager
android:id="@+id/gradeViewPager"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="invisible"
tools:visibility="visible" />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
<ProgressBar
android:id="@+id/gradeProgress"