diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-07-19 16:21:00 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-07-19 16:21:00 +0000 |
commit | 0d5cf54af5de84b35a10ec0b4b2e12dbe09715a0 (patch) | |
tree | 2b2e27162d973de0a5e7c75415fd6816aef72c9f /app/src/main/res/layout | |
parent | 216228cf0275d84d1895114fd92cb83a70318c81 (diff) | |
download | infinity-for-reddit-0d5cf54af5de84b35a10ec0b4b2e12dbe09715a0.tar infinity-for-reddit-0d5cf54af5de84b35a10ec0b4b2e12dbe09715a0.tar.gz infinity-for-reddit-0d5cf54af5de84b35a10ec0b4b2e12dbe09715a0.tar.bz2 infinity-for-reddit-0d5cf54af5de84b35a10ec0b4b2e12dbe09715a0.tar.lz infinity-for-reddit-0d5cf54af5de84b35a10ec0b4b2e12dbe09715a0.tar.xz infinity-for-reddit-0d5cf54af5de84b35a10ec0b4b2e12dbe09715a0.tar.zst infinity-for-reddit-0d5cf54af5de84b35a10ec0b4b2e12dbe09715a0.zip |
Fixed bugs when posting without a flair specified. Minor UI tweaks.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/item_post.xml | 7 | ||||
-rw-r--r-- | app/src/main/res/layout/item_post_detail.xml | 7 |
2 files changed, 4 insertions, 10 deletions
diff --git a/app/src/main/res/layout/item_post.xml b/app/src/main/res/layout/item_post.xml index e6e41b81..7598375d 100644 --- a/app/src/main/res/layout/item_post.xml +++ b/app/src/main/res/layout/item_post.xml @@ -157,9 +157,8 @@ android:layout_marginStart="16dp" android:text="@string/spoiler" android:textSize="12sp" - android:textColor="@color/primaryTextColor" + android:textColor="@android:color/white" android:padding="4dp" - android:background="@color/textColorPrimaryDark" android:visibility="gone" app:lib_setRadius="3dp" app:lib_setRoundedBorderColor="@color/textColorPrimaryDark" @@ -173,9 +172,8 @@ android:layout_gravity="center" android:layout_marginStart="16dp" android:textSize="12sp" - android:textColor="@color/primaryTextColor" + android:textColor="@android:color/white" android:padding="4dp" - android:background="@color/textColorPrimaryDark" android:visibility="gone" app:lib_setRadius="3dp" app:lib_setRoundedBorderColor="@color/textColorPrimaryDark" @@ -236,7 +234,6 @@ android:id="@+id/image_view_no_preview_link_item_post" android:layout_width="match_parent" android:layout_height="150dp" - android:layout_marginTop="16dp" android:scaleType="center" android:src="@drawable/ic_link" android:tint="@android:color/tab_indicator_text" diff --git a/app/src/main/res/layout/item_post_detail.xml b/app/src/main/res/layout/item_post_detail.xml index fc48202e..fade8588 100644 --- a/app/src/main/res/layout/item_post_detail.xml +++ b/app/src/main/res/layout/item_post_detail.xml @@ -149,9 +149,8 @@ android:layout_marginStart="16dp" android:text="@string/spoiler" android:textSize="12sp" - android:textColor="@color/primaryTextColor" + android:textColor="@android:color/white" android:padding="4dp" - android:background="@color/textColorPrimaryDark" android:visibility="gone" app:lib_setRadius="3dp" app:lib_setRoundedBorderColor="@color/textColorPrimaryDark" @@ -165,9 +164,8 @@ android:layout_gravity="center" android:layout_marginStart="16dp" android:textSize="12sp" - android:textColor="@color/primaryTextColor" + android:textColor="@android:color/white" android:padding="4dp" - android:background="@color/textColorPrimaryDark" android:visibility="gone" app:lib_setRadius="3dp" app:lib_setRoundedBorderColor="@color/textColorPrimaryDark" @@ -229,7 +227,6 @@ android:id="@+id/image_view_no_preview_link_item_post_detail" android:layout_width="match_parent" android:layout_height="150dp" - android:layout_marginTop="16dp" android:background="@color/grey" android:scaleType="center" android:src="@drawable/ic_link" |