aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2018-10-01 06:07:32 +0000
committerAlex Ning <chineseperson5@gmail.com>2018-10-01 06:07:32 +0000
commitb4a3e8b82250762b810889db5197800054507d7a (patch)
treeed512fb545e57ce56a28cfeefe4212e4e646c194 /app/src/main/res
parent17ccccfa0e80df0eea1894382cfe85f7e47bcaef (diff)
downloadinfinity-for-reddit-b4a3e8b82250762b810889db5197800054507d7a.tar
infinity-for-reddit-b4a3e8b82250762b810889db5197800054507d7a.tar.gz
infinity-for-reddit-b4a3e8b82250762b810889db5197800054507d7a.tar.bz2
infinity-for-reddit-b4a3e8b82250762b810889db5197800054507d7a.tar.lz
infinity-for-reddit-b4a3e8b82250762b810889db5197800054507d7a.tar.xz
infinity-for-reddit-b4a3e8b82250762b810889db5197800054507d7a.tar.zst
infinity-for-reddit-b4a3e8b82250762b810889db5197800054507d7a.zip
Minor layout tweaks.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/item_post.xml6
-rw-r--r--app/src/main/res/layout/nav_header_main.xml2
2 files changed, 4 insertions, 4 deletions
diff --git a/app/src/main/res/layout/item_post.xml b/app/src/main/res/layout/item_post.xml
index 2813669a..8549d735 100644
--- a/app/src/main/res/layout/item_post.xml
+++ b/app/src/main/res/layout/item_post.xml
@@ -39,7 +39,6 @@
android:layout_toStartOf="@id/stickied_post_image_view_best_post_item"
android:layout_toEndOf="@id/subreddit_icon_circle_image_view_best_post_item"
android:layout_centerVertical="true"
- android:gravity="center_vertical"
android:textColor="#E91E63"/>
<ImageView
@@ -192,9 +191,10 @@
<TextView
android:id="@+id/score_text_view_item_best_post"
android:layout_width="64dp"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
+ android:layout_height="match_parent"
android:layout_toEndOf="@id/plus_button_item_best_post"
+ android:layout_alignBottom="@id/plus_button_item_best_post"
+ android:layout_alignParentTop="true"
android:gravity="center"/>
<ImageView
diff --git a/app/src/main/res/layout/nav_header_main.xml b/app/src/main/res/layout/nav_header_main.xml
index babdcfe9..146dd057 100644
--- a/app/src/main/res/layout/nav_header_main.xml
+++ b/app/src/main/res/layout/nav_header_main.xml
@@ -25,7 +25,7 @@
<TextView
android:id="@+id/name_text_view_nav_header_main"
- android:layout_width="match_parent"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/nav_header_vertical_spacing"
android:layout_marginStart="16dp"