aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorThomas <github_ANoFA@itrooz.fr>2023-04-24 14:14:27 +0000
committerGitHub <noreply@github.com>2023-04-24 14:14:27 +0000
commit44a553efac0c39407059f8795a3133040259da99 (patch)
tree64a32cc137e7dfa2a892bde576082c67de188448 /app/src/main/res
parentabb9acb4d8228cee6be245dcccfb12b4062b9d9a (diff)
downloadinfinity-for-reddit-44a553efac0c39407059f8795a3133040259da99.tar
infinity-for-reddit-44a553efac0c39407059f8795a3133040259da99.tar.gz
infinity-for-reddit-44a553efac0c39407059f8795a3133040259da99.tar.bz2
infinity-for-reddit-44a553efac0c39407059f8795a3133040259da99.tar.lz
infinity-for-reddit-44a553efac0c39407059f8795a3133040259da99.tar.xz
infinity-for-reddit-44a553efac0c39407059f8795a3133040259da99.tar.zst
infinity-for-reddit-44a553efac0c39407059f8795a3133040259da99.zip
Show if comments are edited (#1388)
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout/item_comment.xml12
-rw-r--r--app/src/main/res/values/strings.xml3
2 files changed, 15 insertions, 0 deletions
diff --git a/app/src/main/res/layout/item_comment.xml b/app/src/main/res/layout/item_comment.xml
index 06ac8c02..cfe48e6f 100644
--- a/app/src/main/res/layout/item_comment.xml
+++ b/app/src/main/res/layout/item_comment.xml
@@ -69,6 +69,18 @@
tools:visibility="visible" />
<TextView
+ android:id="@+id/edited_text_view_item_post_comment"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginEnd="8dp"
+ android:fontFamily="?attr/font_family"
+ android:gravity="end"
+ android:textSize="?attr/font_default"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toStartOf="@id/top_score_text_view_item_post_comment"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <TextView
android:id="@+id/top_score_text_view_item_post_comment"
android:layout_width="0dp"
android:layout_height="wrap_content"
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 2b77b298..c46f1f3d 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -1084,6 +1084,9 @@
<string name="give_award_success">Award given</string>
<string name="give_award_failed">Failed</string>
+ <string name="edited">Edited</string>
+ <string name="edited_time">Edited on %s</string>
+
<string name="warning">Warning</string>
<string name="this_is_a_nsfw_subreddit">This is a NSFW subreddit.</string>
<string name="this_user_has_nsfw_content">This user has NSFW content</string>