diff options
Diffstat (limited to 'src/main/res/layout/activity_fullscreen_message.xml')
-rw-r--r-- | src/main/res/layout/activity_fullscreen_message.xml | 49 |
1 files changed, 24 insertions, 25 deletions
diff --git a/src/main/res/layout/activity_fullscreen_message.xml b/src/main/res/layout/activity_fullscreen_message.xml index bc6eeb850..c1a1bc619 100644 --- a/src/main/res/layout/activity_fullscreen_message.xml +++ b/src/main/res/layout/activity_fullscreen_message.xml @@ -2,37 +2,36 @@ <RelativeLayout 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"> - - <com.github.chrisbanes.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" /> + 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" - android:id="@+id/frameLayout"> + android:layout_alignParentTop="true"> + + <com.github.chrisbanes.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" /> - <ImageButton - android:layout_margin="15dp" - android:layout_width="40dp" - android:layout_height="40dp" - android:src="@drawable/ic_share_white_24dp" - android:background="@drawable/circle" - android:id="@+id/imageButton" - android:layout_gravity="right|top" /> + <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="?attr/icon_share" /> </FrameLayout> </RelativeLayout>
\ No newline at end of file |