summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-07-10 09:47:35 +0300
committerAndrew Dolgov <[email protected]>2015-07-10 09:48:05 +0300
commit5e5c76c7e2043bc05bf70637ccc8eb4c27165c82 (patch)
tree8f09906e656ebb3c422a2055648cb687417bf074 /org.fox.ttrss/src/main/res/layout
parent5c0768b40d305f6a93957d8e3426d2ae493a15bf (diff)
replace inline video player with a separate activity
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout')
-rw-r--r--org.fox.ttrss/src/main/res/layout/activity_video_player.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/activity_video_player.xml b/org.fox.ttrss/src/main/res/layout/activity_video_player.xml
new file mode 100644
index 00000000..4954ae01
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/layout/activity_video_player.xml
@@ -0,0 +1,30 @@
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:fitsSystemWindows="true"
+ android:background="?android:colorBackground"
+ tools:context="org.fox.ttrss.VideoPlayerActivity">
+
+ <!--
+ android:paddingLeft="@dimen/activity_horizontal_margin"
+ android:paddingRight="@dimen/activity_horizontal_margin"
+ android:paddingTop="@dimen/activity_vertical_margin"
+ android:paddingBottom="@dimen/activity_vertical_margin"
+ -->
+
+ <FrameLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_below="@+id/toolbar">
+
+ <VideoView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_gravity="center"
+ android:id="@+id/video_player"
+ android:transitionName="TRANSITION:ARTICLE_VIDEO_PLAYER" />
+ </FrameLayout>
+
+ <include layout="@layout/toolbar" android:id="@+id/toolbar" />
+
+</RelativeLayout>