aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/activity_fullscreen_message.xml
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2016-06-30 15:36:42 +0200
committerChristian Schneppe <christian@pix-art.de>2016-06-30 15:36:42 +0200
commit01eb94ef997c22f9de46894d06be8ee8a87beb66 (patch)
tree67c16222d6f093d88c3e3a07934ac0bf2fbbc079 /src/main/res/layout/activity_fullscreen_message.xml
parent80912a71d7238bcd08d52caf26666b9b3865cd8d (diff)
add share button to image/video view
Diffstat (limited to 'src/main/res/layout/activity_fullscreen_message.xml')
-rw-r--r--src/main/res/layout/activity_fullscreen_message.xml28
1 files changed, 26 insertions, 2 deletions
diff --git a/src/main/res/layout/activity_fullscreen_message.xml b/src/main/res/layout/activity_fullscreen_message.xml
index 183513196..40f920c4e 100644
--- a/src/main/res/layout/activity_fullscreen_message.xml
+++ b/src/main/res/layout/activity_fullscreen_message.xml
@@ -1,10 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<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:orientation="vertical"
android:background="@android:color/black">
+ <include
+ android:id="@+id/toolbar"
+ layout="@layout/tool_bar">
+ </include>
+
<uk.co.senab.photoview.PhotoView
android:id="@id/message_image_view"
android:layout_width="match_parent"
@@ -17,4 +23,22 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
-</LinearLayout> \ No newline at end of file
+
+ <FrameLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_alignParentEnd="true"
+ android:layout_alignParentRight="true"
+ android:layout_alignParentTop="true"
+ android:id="@+id/frameLayout">
+
+ <ImageButton
+ android:layout_margin="15dp"
+ android:layout_width="70dp"
+ android:layout_height="70dp"
+ android:src="@drawable/ic_share_white_24dp"
+ android:background="@drawable/circle"
+ android:id="@+id/imageButton"
+ android:layout_gravity="right|top" />
+ </FrameLayout>
+</RelativeLayout> \ No newline at end of file