aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2022-11-05 13:52:14 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2022-11-05 13:52:14 +0000
commit0ae9b74729b0ee072bb92dbcfbe3391edabe1c5a (patch)
tree691c9f83e830da6e46aa376b173db7643d6a7ae2 /app/src/main/res
parentcf3595f22dd35e0bd15d1344c11408f73f64c144 (diff)
downloadinfinity-for-reddit-0ae9b74729b0ee072bb92dbcfbe3391edabe1c5a.tar
infinity-for-reddit-0ae9b74729b0ee072bb92dbcfbe3391edabe1c5a.tar.gz
infinity-for-reddit-0ae9b74729b0ee072bb92dbcfbe3391edabe1c5a.tar.bz2
infinity-for-reddit-0ae9b74729b0ee072bb92dbcfbe3391edabe1c5a.tar.lz
infinity-for-reddit-0ae9b74729b0ee072bb92dbcfbe3391edabe1c5a.tar.xz
infinity-for-reddit-0ae9b74729b0ee072bb92dbcfbe3391edabe1c5a.tar.zst
infinity-for-reddit-0ae9b74729b0ee072bb92dbcfbe3391edabe1c5a.zip
Minor changes to loading more posts.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout/fragment_more_posts_info.xml20
1 files changed, 16 insertions, 4 deletions
diff --git a/app/src/main/res/layout/fragment_more_posts_info.xml b/app/src/main/res/layout/fragment_more_posts_info.xml
index bb36362c..86e9e06e 100644
--- a/app/src/main/res/layout/fragment_more_posts_info.xml
+++ b/app/src/main/res/layout/fragment_more_posts_info.xml
@@ -1,22 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- xmlns:app="http://schemas.android.com/apk/res-auto"
tools:context=".fragments.MorePostsInfoFragment">
+ <ProgressBar
+ android:id="@+id/progress_bar_view_more_posts_info_fragment"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ app:layout_constraintBottom_toTopOf="@+id/info_text_view_more_posts_info_fragment"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintHorizontal_bias="0.5"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ app:layout_constraintVertical_chainStyle="packed" />
+
<TextView
android:id="@+id/info_text_view_more_posts_info_fragment"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="16dp"
- android:textSize="?attr/font_default"
android:fontFamily="?attr/font_family"
- app:layout_constraintTop_toTopOf="parent"
+ android:textSize="?attr/font_18"
app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintEnd_toEndOf="parent" />
+ app:layout_constraintTop_toBottomOf="@+id/progress_bar_view_more_posts_info_fragment" />
</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file