aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_post.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2018-12-27 07:14:10 +0000
committerAlex Ning <chineseperson5@gmail.com>2018-12-27 07:14:10 +0000
commit93a9ad9ece6df6cd210ca03be26bd74a760cb90f (patch)
tree5ebef6b4902899154e779f256803944595e59db9 /app/src/main/res/layout/fragment_post.xml
parent807ddf5a6e595d2368579008bb8132296be54ea2 (diff)
downloadinfinity-for-reddit-93a9ad9ece6df6cd210ca03be26bd74a760cb90f.tar
infinity-for-reddit-93a9ad9ece6df6cd210ca03be26bd74a760cb90f.tar.gz
infinity-for-reddit-93a9ad9ece6df6cd210ca03be26bd74a760cb90f.tar.bz2
infinity-for-reddit-93a9ad9ece6df6cd210ca03be26bd74a760cb90f.tar.lz
infinity-for-reddit-93a9ad9ece6df6cd210ca03be26bd74a760cb90f.tar.xz
infinity-for-reddit-93a9ad9ece6df6cd210ca03be26bd74a760cb90f.tar.zst
infinity-for-reddit-93a9ad9ece6df6cd210ca03be26bd74a760cb90f.zip
Display a MaterialLoadingProgressBar instead of a ProgressBar when loading posts. Correctly handle the visibility of the MaterialLoadingProgressBar when loading posts.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout/fragment_post.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/src/main/res/layout/fragment_post.xml b/app/src/main/res/layout/fragment_post.xml
index 431a2292..9493bb8f 100644
--- a/app/src/main/res/layout/fragment_post.xml
+++ b/app/src/main/res/layout/fragment_post.xml
@@ -6,13 +6,15 @@
android:id="@+id/coordinator_layout_post_fragment"
tools:context="ml.docilealligator.infinityforreddit.PostFragment">
- <ProgressBar
+ <com.lsjwzh.widget.materialloadingprogressbar.CircleProgressBar
android:id="@+id/progress_bar_post_fragment"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:layout_marginBottom="16dp"
- android:layout_gravity="center" />
+ app:mlpb_progress_stoke_width="3dp"
+ app:mlpb_progress_color="@color/colorAccent"
+ android:layout_gravity="center_horizontal"/>
<android.support.v7.widget.RecyclerView
android:id="@+id/recycler_view_post_fragment"