aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-08-15 05:35:25 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-08-15 05:35:25 +0000
commit478b85e67b1798ab6b0bdc4392785c40fe1c1307 (patch)
treef5f9154e7910caa4d32de4d2ae17e4d6785d1197 /app/src/main/res
parent62dc889867678be046a4d298782cd14305fe5c39 (diff)
downloadinfinity-for-reddit-478b85e67b1798ab6b0bdc4392785c40fe1c1307.tar
infinity-for-reddit-478b85e67b1798ab6b0bdc4392785c40fe1c1307.tar.gz
infinity-for-reddit-478b85e67b1798ab6b0bdc4392785c40fe1c1307.tar.bz2
infinity-for-reddit-478b85e67b1798ab6b0bdc4392785c40fe1c1307.tar.lz
infinity-for-reddit-478b85e67b1798ab6b0bdc4392785c40fe1c1307.tar.xz
infinity-for-reddit-478b85e67b1798ab6b0bdc4392785c40fe1c1307.tar.zst
infinity-for-reddit-478b85e67b1798ab6b0bdc4392785c40fe1c1307.zip
Display single comment thread when clicking a comment from ViewUserDetailActivity instead of showing all the comments.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout/item_view_all_comments.xml17
-rw-r--r--app/src/main/res/values/strings.xml3
2 files changed, 18 insertions, 2 deletions
diff --git a/app/src/main/res/layout/item_view_all_comments.xml b/app/src/main/res/layout/item_view_all_comments.xml
new file mode 100644
index 00000000..8ded08c1
--- /dev/null
+++ b/app/src/main/res/layout/item_view_all_comments.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:padding="16dp"
+ android:background="?attr/selectableItemBackground"
+ android:clickable="true"
+ android:focusable="true">
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/view_all_comments"
+ android:gravity="center"
+ android:textColor="@color/colorAccent" />
+
+</LinearLayout> \ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 9f8b938e..46a3899b 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -217,6 +217,5 @@
<string name="edit_flair">Edit Flair</string>
<string name="only_allow_64_chars">Only allow less than 64 characters</string>
- <!-- TODO: Remove or change this placeholder text -->
- <string name="hello_blank_fragment">Hello blank fragment</string>
+ <string name="view_all_comments">Click here to browse all comments</string>
</resources>