diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-01-21 17:05:46 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-01-21 17:05:46 +0000 |
commit | f7a192dcbedb09a6d29e7879f6119edd47278f6f (patch) | |
tree | bd51dd7fd83d7c305b6fae37aae1fbbb063af629 /app/src/main/res/layout/item_post.xml | |
parent | 91e6174aa5b2fba9d2777e3ea33b20a833a487bf (diff) | |
download | infinity-for-reddit-f7a192dcbedb09a6d29e7879f6119edd47278f6f.tar infinity-for-reddit-f7a192dcbedb09a6d29e7879f6119edd47278f6f.tar.gz infinity-for-reddit-f7a192dcbedb09a6d29e7879f6119edd47278f6f.tar.bz2 infinity-for-reddit-f7a192dcbedb09a6d29e7879f6119edd47278f6f.tar.lz infinity-for-reddit-f7a192dcbedb09a6d29e7879f6119edd47278f6f.tar.xz infinity-for-reddit-f7a192dcbedb09a6d29e7879f6119edd47278f6f.tar.zst infinity-for-reddit-f7a192dcbedb09a6d29e7879f6119edd47278f6f.zip |
Fixed infinite loading duplicate posts when there is no more posts to load. Minor bugs fixed. Minor layout tweaks.
Diffstat (limited to 'app/src/main/res/layout/item_post.xml')
-rw-r--r-- | app/src/main/res/layout/item_post.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/src/main/res/layout/item_post.xml b/app/src/main/res/layout/item_post.xml index 1021a3b0..1d686e52 100644 --- a/app/src/main/res/layout/item_post.xml +++ b/app/src/main/res/layout/item_post.xml @@ -82,6 +82,7 @@ android:layout_marginEnd="16dp" android:textSize="12sp" android:textColor="@android:color/white" + android:layout_centerVertical="true" app:chipBackgroundColor="@color/colorPrimaryDark"/> <ImageView @@ -90,6 +91,7 @@ android:layout_height="24dp" android:layout_toEndOf="@id/type_text_view_item_best_post" android:layout_marginTop="8dp" + android:layout_centerVertical="true" android:visibility="gone"/> <TextView @@ -102,7 +104,8 @@ android:layout_toEndOf="@id/gilded_image_view_item_best_post" android:visibility="gone" android:textSize="20sp" - android:textColor="@color/gold"/> + android:textColor="@color/gold" + android:layout_centerVertical="true"/> <ImageView android:id="@+id/crosspost_image_view_item_best_post" @@ -115,6 +118,7 @@ android:layout_toEndOf="@id/gilded_number_text_view_item_best_post" android:src="@drawable/crosspost" android:tint="@color/colorAccent" + android:layout_centerVertical="true" android:visibility="gone"/> <android.support.design.chip.Chip @@ -128,6 +132,7 @@ android:textSize="12sp" android:textColor="@android:color/white" android:visibility="gone" + android:layout_centerVertical="true" app:chipBackgroundColor="@color/colorAccent"/> </RelativeLayout> |