summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-10-09 19:36:23 +0400
committerAndrew Dolgov <[email protected]>2012-10-09 19:36:23 +0400
commit00b80487b48e3a3812c98369a3d3c6c5fadea6fd (patch)
tree1cdf87a959f1b83e231aa036796dea2340ca63b7 /res
parent2424b72246a7e5da1558b7da4633fdd1a515f3a6 (diff)
support article comments for API 4 server (closes #490)
Diffstat (limited to 'res')
-rw-r--r--res/layout/article_fragment.xml10
-rw-r--r--res/values/strings.xml1
2 files changed, 11 insertions, 0 deletions
diff --git a/res/layout/article_fragment.xml b/res/layout/article_fragment.xml
index 0b847017..e228dbe1 100644
--- a/res/layout/article_fragment.xml
+++ b/res/layout/article_fragment.xml
@@ -22,6 +22,16 @@
android:text="There are many variations of passages of Lorem Ipsum available"
android:textSize="16sp" />
+ <TextView
+ android:id="@+id/comments"
+ android:textColor="?linkColor"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:gravity="right"
+ android:text="24 comments"
+ android:textSize="13sp" />
+
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/res/values/strings.xml b/res/values/strings.xml
index cd2f7c4b..591b36b3 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -145,4 +145,5 @@
<string name="error_ssl_hostname_rejected">Error: SSL hostname not verified</string>
<string name="offline_oldest_first">Show oldest articles first</string>
<string name="prefs_dim_status_bar">Dim status bar when reading</string>
+ <string name="article_comments">%1$d comments</string>
</resources> \ No newline at end of file