aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/activity_fullscreen_message.xml
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2016-05-28 22:17:11 +0200
committerChristian Schneppe <christian@pix-art.de>2016-05-28 22:17:11 +0200
commit679ac2ea21709d3a4b0e80bdebe740beceac274d (patch)
tree5988834eb4dd0ce1af72b61dd3d8e29b1d044b83 /src/main/res/layout/activity_fullscreen_message.xml
parentb6025f3506ee5adf5ccf42cefd9c3ff57d9ff1a1 (diff)
integrate image- and video player
Diffstat (limited to '')
-rw-r--r--src/main/res/layout/activity_fullscreen_message.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/main/res/layout/activity_fullscreen_message.xml b/src/main/res/layout/activity_fullscreen_message.xml
new file mode 100644
index 000000000..183513196
--- /dev/null
+++ b/src/main/res/layout/activity_fullscreen_message.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:background="@android:color/black">
+
+ <uk.co.senab.photoview.PhotoView
+ android:id="@id/message_image_view"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:adjustViewBounds="true"
+ android:visibility="gone" />
+
+ <com.github.rtoshiro.view.video.FullscreenVideoLayout
+ android:id="@id/message_video_view"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:visibility="gone" />
+</LinearLayout> \ No newline at end of file