diff options
Diffstat (limited to 'app/src/main/res/layout/activity_view_post_detail.xml')
-rw-r--r-- | app/src/main/res/layout/activity_view_post_detail.xml | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/app/src/main/res/layout/activity_view_post_detail.xml b/app/src/main/res/layout/activity_view_post_detail.xml index 98794359..4ee9dff7 100644 --- a/app/src/main/res/layout/activity_view_post_detail.xml +++ b/app/src/main/res/layout/activity_view_post_detail.xml @@ -33,19 +33,19 @@ </com.google.android.material.appbar.AppBarLayout> - <ProgressBar - android:id="@+id/progress_bar_view_post_detail_activity" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center" - android:visibility="gone" /> - - <androidx.recyclerview.widget.RecyclerView - android:id="@+id/recycler_view_view_post_detail" + <androidx.swiperefreshlayout.widget.SwipeRefreshLayout + android:id="@+id/swipe_refresh_layout_view_post_detail_activity" android:layout_width="match_parent" - android:layout_height="wrap_content" - android:clipToPadding="false" - app:layout_behavior="@string/appbar_scrolling_view_behavior" /> + android:layout_height="match_parent" + app:layout_behavior="@string/appbar_scrolling_view_behavior"> + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/recycler_view_view_post_detail" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:clipToPadding="false" /> + + </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> <LinearLayout android:id="@+id/fetch_post_info_linear_layout_view_post_detail_activity" |