41 lines
1.5 KiB
XML
41 lines
1.5 KiB
XML
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
android:id="@+id/ucrop_photobox"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent">
|
||
|
|
||
|
<FrameLayout
|
||
|
android:id="@+id/ucrop_frame"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_above="@+id/controls_wrapper"
|
||
|
android:background="@color/ucrop_color_crop_background">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/image_view_logo"
|
||
|
android:layout_width="@dimen/ucrop_default_crop_logo_size"
|
||
|
android:layout_height="@dimen/ucrop_default_crop_logo_size"
|
||
|
android:layout_gravity="center"
|
||
|
app:srcCompat="@drawable/ucrop_vector_ic_crop"
|
||
|
tools:background="@drawable/ucrop_vector_ic_crop"
|
||
|
tools:ignore="ContentDescription,MissingPrefix" />
|
||
|
|
||
|
<com.yalantis.ucrop.view.UCropView
|
||
|
android:id="@+id/ucrop"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:alpha="0" />
|
||
|
|
||
|
</FrameLayout>
|
||
|
|
||
|
<FrameLayout
|
||
|
android:id="@+id/controls_wrapper"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_alignParentBottom="true"
|
||
|
android:background="@android:color/black"
|
||
|
android:visibility="gone" />
|
||
|
|
||
|
</RelativeLayout>
|