summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-07-10 14:21:38 +0300
committerAndrew Dolgov <[email protected]>2015-07-10 14:21:38 +0300
commitd1cf6a071c83439e51ee93b54cc5b2b44acd60b5 (patch)
tree89faad0791235a1b0f189582aed77f6390ac37c4 /org.fox.ttrss/src/main/res
parent4e330671fa9d78052ddc55389ac3e196422438e1 (diff)
add image count prompt to flavor image
Diffstat (limited to 'org.fox.ttrss/src/main/res')
-rwxr-xr-xorg.fox.ttrss/src/main/res/layout/headlines_row.xml12
-rwxr-xr-xorg.fox.ttrss/src/main/res/layout/headlines_row_unread.xml12
-rwxr-xr-xorg.fox.ttrss/src/main/res/values/strings.xml6
3 files changed, 30 insertions, 0 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row.xml b/org.fox.ttrss/src/main/res/layout/headlines_row.xml
index 31677c60..30a71acb 100755
--- a/org.fox.ttrss/src/main/res/layout/headlines_row.xml
+++ b/org.fox.ttrss/src/main/res/layout/headlines_row.xml
@@ -100,6 +100,18 @@
android:src="@drawable/flavor_video_play"
android:visibility="gone" />
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:layout_gravity="bottom"
+ android:gravity="center"
+ android:textColor="@android:color/primary_text_dark"
+ android:text="5 more images"
+ android:background="#90000000"
+ android:visibility="gone"
+ android:id="@+id/flavor_image_prompt" />
+
</FrameLayout>
</TableRow>
diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml b/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml
index 90065ee2..e7540197 100755
--- a/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml
+++ b/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml
@@ -101,6 +101,18 @@
android:scaleType="fitXY"
android:src="@drawable/flavor_video_play"
android:visibility="gone" />
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:layout_gravity="bottom"
+ android:gravity="center"
+ android:textColor="@android:color/primary_text_dark"
+ android:text="5 more images"
+ android:background="#90000000"
+ android:visibility="gone"
+ android:id="@+id/flavor_image_prompt" />
</FrameLayout>
</TableRow>
diff --git a/org.fox.ttrss/src/main/res/values/strings.xml b/org.fox.ttrss/src/main/res/values/strings.xml
index e74c3843..55827caf 100755
--- a/org.fox.ttrss/src/main/res/values/strings.xml
+++ b/org.fox.ttrss/src/main/res/values/strings.xml
@@ -230,4 +230,10 @@
<string name="action_settings">Settings</string>
<string name="video_player_share">Share video</string>
<string name="video_player_open">Open video</string>
+
+ <plurals name="flavor_image_prompt">
+ <item quantity="zero"></item>
+ <item quantity="one">(one more image)</item>
+ <item quantity="other">(%1$d more images)</item>
+ </plurals>
</resources>