diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-11-19 08:23:45 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-11-19 08:23:45 +0000 |
commit | ca81ec49cf8fba4191673903bd8d7c6ef39394e6 (patch) | |
tree | 99254d20294d147dc6e800e39e3fbc71316d5e62 /app/src/main/res/layout/activity_view_message.xml | |
parent | 47b57fd50fc21c796f59cd5165fa7741d7ef944e (diff) | |
download | infinity-for-reddit-ca81ec49cf8fba4191673903bd8d7c6ef39394e6.tar infinity-for-reddit-ca81ec49cf8fba4191673903bd8d7c6ef39394e6.tar.gz infinity-for-reddit-ca81ec49cf8fba4191673903bd8d7c6ef39394e6.tar.bz2 infinity-for-reddit-ca81ec49cf8fba4191673903bd8d7c6ef39394e6.tar.lz infinity-for-reddit-ca81ec49cf8fba4191673903bd8d7c6ef39394e6.tar.xz infinity-for-reddit-ca81ec49cf8fba4191673903bd8d7c6ef39394e6.tar.zst infinity-for-reddit-ca81ec49cf8fba4191673903bd8d7c6ef39394e6.zip |
Swipe down to refresh is available in other activities.
Diffstat (limited to 'app/src/main/res/layout/activity_view_message.xml')
-rw-r--r-- | app/src/main/res/layout/activity_view_message.xml | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/app/src/main/res/layout/activity_view_message.xml b/app/src/main/res/layout/activity_view_message.xml index 12e31b01..25b4f76c 100644 --- a/app/src/main/res/layout/activity_view_message.xml +++ b/app/src/main/res/layout/activity_view_message.xml @@ -38,22 +38,19 @@ android:layout_height="match_parent" app:layout_behavior="@string/appbar_scrolling_view_behavior" > - <com.lsjwzh.widget.materialloadingprogressbar.CircleProgressBar - android:id="@+id/progress_bar_view_message_activity" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerHorizontal="true" - android:layout_marginTop="16dp" - android:layout_marginBottom="16dp" - app:mlpb_progress_stoke_width="3dp" - app:mlpb_progress_color="@color/colorAccent" - app:mlpb_background_color="?attr/circularProgressBarBackground" /> - - <androidx.recyclerview.widget.RecyclerView - android:id="@+id/recycler_view_view_message_activity" + <androidx.swiperefreshlayout.widget.SwipeRefreshLayout + android:id="@+id/swipe_refresh_layout_view_message_activity" android:layout_width="match_parent" android:layout_height="match_parent" - android:clipToPadding="false"/> + app:layout_behavior="@string/appbar_scrolling_view_behavior"> + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/recycler_view_view_message_activity" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:clipToPadding="false"/> + + </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> <LinearLayout android:id="@+id/fetch_messages_info_linear_layout_view_message_activity" |