summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-07-10 01:00:10 +0300
committerAndrew Dolgov <[email protected]>2015-07-10 01:00:10 +0300
commit5df93fe9d60ceb24e50d4546660dbb0b3757d4d0 (patch)
tree68f37b4c675ecf21f6490ed8c8ab3faec7fea077 /org.fox.ttrss/src/main/res
parent2593a8faa251c2661b77e92d8b2b05ab80c2b387 (diff)
add rudimentary headlines video player
Diffstat (limited to 'org.fox.ttrss/src/main/res')
-rwxr-xr-xorg.fox.ttrss/src/main/res/layout/headlines_row.xml7
-rwxr-xr-xorg.fox.ttrss/src/main/res/layout/headlines_row_unread.xml7
-rwxr-xr-xorg.fox.ttrss/src/main/res/xml/preferences.xml6
3 files changed, 20 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 409fdd8a..047160af 100755
--- a/org.fox.ttrss/src/main/res/layout/headlines_row.xml
+++ b/org.fox.ttrss/src/main/res/layout/headlines_row.xml
@@ -91,6 +91,13 @@
android:cropToPadding="true"
android:visibility="visible" />
+ <VideoView
+ android:id="@+id/flavor_video"
+ android:layout_width="match_parent"
+ android:layout_height="200dp"
+ android:layout_gravity="center"
+ android:visibility="gone" />
+
<org.fox.ttrss.util.ArrowRight
android:layout_marginRight="16dp"
android:id="@+id/flavorImageArrow"
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 79e212c0..203e8b13 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
@@ -93,6 +93,13 @@
android:cropToPadding="true"
android:visibility="visible" />
+ <VideoView
+ android:id="@+id/flavor_video"
+ android:layout_width="match_parent"
+ android:layout_height="200dp"
+ android:layout_gravity="center"
+ android:visibility="gone" />
+
<org.fox.ttrss.util.ArrowRight
android:layout_marginRight="16dp"
android:id="@+id/flavorImageArrow"
diff --git a/org.fox.ttrss/src/main/res/xml/preferences.xml b/org.fox.ttrss/src/main/res/xml/preferences.xml
index e8fcdcb6..1fa6a265 100755
--- a/org.fox.ttrss/src/main/res/xml/preferences.xml
+++ b/org.fox.ttrss/src/main/res/xml/preferences.xml
@@ -188,6 +188,12 @@
android:defaultValue="false"
android:key="transport_debugging"
android:title="@string/transport_debugging" />
+ <org.fox.ttrss.util.LessBrokenSwitchPreference
+ android:defaultValue="false"
+ android:key="enable_headlines_video"
+ android:title="Video in headlines"
+ android:summary="Enable rudimentary video player in headlines view" />
+
</PreferenceCategory>
<Preference