summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout/headlines_row.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-05-31 22:51:23 +0300
committerAndrew Dolgov <[email protected]>2017-05-31 22:51:23 +0300
commit9420b9570eb460cebcaadc20d27527b4704a868d (patch)
tree9dd8c72f7e2e19571aab81f777bbacd8aecb4101 /org.fox.ttrss/src/main/res/layout/headlines_row.xml
parenta4609d054e2625251ab9dbeaaeea77ca7b515113 (diff)
experimental: inline video player
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout/headlines_row.xml')
-rwxr-xr-xorg.fox.ttrss/src/main/res/layout/headlines_row.xml16
1 files changed, 16 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 d7dbd6d9..2d5b542a 100755
--- a/org.fox.ttrss/src/main/res/layout/headlines_row.xml
+++ b/org.fox.ttrss/src/main/res/layout/headlines_row.xml
@@ -56,6 +56,22 @@
android:src="@drawable/drawer_header"
android:visibility="visible" />
+ <SurfaceView
+ android:id="@+id/flavor_video"
+ android:foreground="@drawable/ripple"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_gravity="center"
+ android:adjustViewBounds="true"
+ android:background="@android:color/transparent"
+ android:cropToPadding="true"
+ android:src="@drawable/drawer_header"
+ android:scaleType="fitCenter"
+ android:visibility="gone"
+ android:layout_alignBottom="@+id/flavor_image"
+ android:layout_alignTop="@+id/flavor_image" />
+
<RelativeLayout
android:id="@+id/headline_header"
android:clickable="true"