aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/activity_media_viewer.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/res/layout/activity_media_viewer.xml')
-rw-r--r--src/main/res/layout/activity_media_viewer.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/main/res/layout/activity_media_viewer.xml b/src/main/res/layout/activity_media_viewer.xml
new file mode 100644
index 000000000..2eaad0d04
--- /dev/null
+++ b/src/main/res/layout/activity_media_viewer.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@android:color/black"
+ android:orientation="vertical">
+
+ <FrameLayout
+ android:id="@+id/frameLayout"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_alignParentEnd="true"
+ android:layout_alignParentRight="true"
+ android:layout_alignParentTop="true">
+
+ <com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
+ 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" />
+
+ <android.support.design.widget.FloatingActionButton
+ android:id="@+id/fab"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="right|top"
+ android:layout_margin="16dp"
+ android:src="@drawable/ic_menu_white_24dp" />
+ </FrameLayout>
+</RelativeLayout> \ No newline at end of file