aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/activity_view_subreddit_detail.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2018-08-23 09:27:16 +0000
committerAlex Ning <chineseperson5@gmail.com>2018-08-23 09:27:16 +0000
commitf90bd4d1cce5f5ca523e4cae395a652a67811615 (patch)
tree885ee1ac2374154e963647c54f6a93a1934c9349 /app/src/main/res/layout/activity_view_subreddit_detail.xml
parent97079663ff8e6fdae31d168df79f6e8329c8766e (diff)
downloadinfinity-for-reddit-f90bd4d1cce5f5ca523e4cae395a652a67811615.tar
infinity-for-reddit-f90bd4d1cce5f5ca523e4cae395a652a67811615.tar.gz
infinity-for-reddit-f90bd4d1cce5f5ca523e4cae395a652a67811615.tar.bz2
infinity-for-reddit-f90bd4d1cce5f5ca523e4cae395a652a67811615.tar.lz
infinity-for-reddit-f90bd4d1cce5f5ca523e4cae395a652a67811615.tar.xz
infinity-for-reddit-f90bd4d1cce5f5ca523e4cae395a652a67811615.tar.zst
infinity-for-reddit-f90bd4d1cce5f5ca523e4cae395a652a67811615.zip
Change the logic of parsing the subreddit icon. Click the icon and the banner of the subreddit to view the image in ViewImageActivity.
Diffstat (limited to 'app/src/main/res/layout/activity_view_subreddit_detail.xml')
-rw-r--r--app/src/main/res/layout/activity_view_subreddit_detail.xml13
1 files changed, 9 insertions, 4 deletions
diff --git a/app/src/main/res/layout/activity_view_subreddit_detail.xml b/app/src/main/res/layout/activity_view_subreddit_detail.xml
index ce3c4d55..d5f6ec57 100644
--- a/app/src/main/res/layout/activity_view_subreddit_detail.xml
+++ b/app/src/main/res/layout/activity_view_subreddit_detail.xml
@@ -43,7 +43,8 @@
app:civ_border_width="1dp"
android:layout_below="@id/banner_image_view_view_subreddit_detail_activity"
android:layout_centerHorizontal="true"
- android:elevation="1000dp"/>
+ android:elevation="4dp"
+ app:civ_circle_background_color="@android:color/white"/>
<LinearLayout
android:layout_width="match_parent"
@@ -64,7 +65,8 @@
<RelativeLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content">
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="16dp">
<TextView
android:id="@+id/subscriber_count_text_view_view_subreddit_detail_activity"
@@ -92,8 +94,11 @@
android:id="@+id/description_text_view_view_subreddit_detail_activity"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_margin="16dp"
- android:textColor="@android:color/black" />
+ android:layout_marginStart="16dp"
+ android:layout_marginEnd="16dp"
+ android:layout_marginBottom="16dp"
+ android:textColor="@android:color/black"
+ android:visibility="gone"/>
</LinearLayout>