react-native-dsg-image-crop-picker
Version:
Select single or multiple images, with cropping option
41 lines (34 loc) • 1.53 kB
text/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:layout_marginBottom="-12dp"
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:visibility="gone" />
</RelativeLayout>