mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 13:23:58 +01:00
* Intent to map added * Merge conflicts resolved * Added the functionality to hide FAB incase of null coordinate * Merge Conflict resolved * Improve pr quality * Improve Quality * Added nested FAB animations * Nested FAB implemented * Improve Quality * Added up arrow * Javadocs Added
98 lines
4 KiB
XML
98 lines
4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/drawer_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<include
|
|
android:id="@+id/toolbar"
|
|
layout="@layout/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@id/toolbar"
|
|
android:background="?attr/mainBackground"
|
|
android:id="@+id/container">
|
|
|
|
<com.facebook.drawee.view.SimpleDraweeView
|
|
android:id="@+id/backgroundImage"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:actualImageScaleType="centerCrop" />
|
|
|
|
<FrameLayout
|
|
android:id="@+id/single_upload_fragment_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
<com.github.chrisbanes.photoview.PhotoView
|
|
android:id="@+id/expanded_image"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:visibility="invisible" />
|
|
|
|
</FrameLayout>
|
|
|
|
<android.support.design.widget.FloatingActionButton
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginRight="@dimen/standard_gap"
|
|
android:layout_marginBottom="@dimen/standard_gap"
|
|
app:backgroundTint="@color/button_blue"
|
|
app:srcCompat="@drawable/ic_keyboard_arrow_up_black_24dp"
|
|
android:id="@+id/main_fab"/>
|
|
|
|
|
|
<android.support.design.widget.FloatingActionButton
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:visibility="gone"
|
|
android:layout_marginRight="@dimen/standard_gap"
|
|
android:src="@drawable/ic_zoom_in_white_24dp"
|
|
android:layout_above="@+id/main_fab"
|
|
android:id="@+id/media_upload_zoom_in"/>
|
|
|
|
<android.support.design.widget.FloatingActionButton
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentBottom="true"
|
|
android:visibility="gone"
|
|
android:layout_marginRight="@dimen/standard_gap"
|
|
android:layout_marginBottom="@dimen/standard_gap"
|
|
android:src="@drawable/ic_zoom_out_white_24dp"
|
|
android:layout_above="@+id/main_fab"
|
|
android:id="@+id/media_upload_zoom_out"/>
|
|
|
|
<android.support.design.widget.FloatingActionButton
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_above="@+id/media_upload_zoom_in"
|
|
android:visibility="gone"
|
|
android:layout_marginRight="@dimen/standard_gap"
|
|
app:srcCompat="@drawable/ic_map_white_24dp"
|
|
android:id="@+id/media_map"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<android.support.design.widget.NavigationView
|
|
android:id="@+id/navigation_view"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="start"
|
|
app:headerLayout="@layout/drawer_header"
|
|
app:menu="@menu/drawer" />
|
|
|
|
</android.support.v4.widget.DrawerLayout>
|