aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/item_post.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-10-25 13:16:09 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-10-25 13:16:09 +0000
commit75452b764d0a0edb4c227cb97c0c7f06c8e6300b (patch)
tree5ed3cde98b3e5d1ee700aec9363e65aabc94d4e8 /app/src/main/res/layout/item_post.xml
parent6662f9af34d21820a0cf70caba6017e35cd81db6 (diff)
downloadinfinity-for-reddit-75452b764d0a0edb4c227cb97c0c7f06c8e6300b.tar
infinity-for-reddit-75452b764d0a0edb4c227cb97c0c7f06c8e6300b.tar.gz
infinity-for-reddit-75452b764d0a0edb4c227cb97c0c7f06c8e6300b.tar.bz2
infinity-for-reddit-75452b764d0a0edb4c227cb97c0c7f06c8e6300b.tar.lz
infinity-for-reddit-75452b764d0a0edb4c227cb97c0c7f06c8e6300b.tar.xz
infinity-for-reddit-75452b764d0a0edb4c227cb97c0c7f06c8e6300b.tar.zst
infinity-for-reddit-75452b764d0a0edb4c227cb97c0c7f06c8e6300b.zip
Disable clicking comment icon in a post to submit a comment. Enlarge the icons in comments. Fix regex used to linkify subreddits and users.
Diffstat (limited to 'app/src/main/res/layout/item_post.xml')
-rw-r--r--app/src/main/res/layout/item_post.xml17
1 files changed, 13 insertions, 4 deletions
diff --git a/app/src/main/res/layout/item_post.xml b/app/src/main/res/layout/item_post.xml
index ba132a36..c09582f5 100644
--- a/app/src/main/res/layout/item_post.xml
+++ b/app/src/main/res/layout/item_post.xml
@@ -80,7 +80,19 @@
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:textSize="?attr/title_font_18"
- android:textColor="@color/primaryTextColor"/>
+ android:textColor="@color/primaryTextColor" />
+
+ <TextView
+ android:id="@+id/content_text_view_item_post"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="16dp"
+ android:paddingStart="16dp"
+ android:paddingEnd="16dp"
+ android:maxLines="4"
+ android:visibility="gone"
+ android:textSize="?attr/content_font_default"
+ android:ellipsize="end" />
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
@@ -336,9 +348,6 @@
android:padding="12dp"
android:src="@drawable/ic_comment_white_24dp"
android:tint="@android:color/tab_indicator_text"
- android:background="?actionBarItemBackground"
- android:clickable="true"
- android:focusable="true"
app:layout_constraintHorizontal_bias="0"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"