diff options
Diffstat (limited to '')
-rw-r--r-- | src/main/res/layout/activity_fullscreen_message.xml | 28 | ||||
-rw-r--r-- | src/main/res/layout/tool_bar.xml | 8 |
2 files changed, 34 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 diff --git a/src/main/res/layout/tool_bar.xml b/src/main/res/layout/tool_bar.xml new file mode 100644 index 000000000..990a00e03 --- /dev/null +++ b/src/main/res/layout/tool_bar.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> + +<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="@color/primary" + android:elevation="2dp" + android:theme="@style/Base.ThemeOverlay.AppCompat.Dark" />
\ No newline at end of file |