UNPKG

@tuofeng/react-native-image-picker

Version:

Image Picker

44 lines (37 loc) 1.61 kB
<RelativeLayout android:id="@+id/ucrop_photobox" 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: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/wrapper_controls" android:background="@color/ucrop_color_crop_background"> <com.yalantis.ucrop.view.UCropView android:id="@+id/ucrop" android:layout_width="match_parent" android:layout_height="match_parent" android:alpha="0"/> </FrameLayout> <android.support.v7.widget.Toolbar android:id="@+id/toolbar" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:background="@color/ucrop_color_toolbar" android:minHeight="?attr/actionBarSize"> <TextView android:id="@+id/toolbar_title" style="@style/TextAppearance.Widget.AppCompat.Toolbar.Title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:visibility="gone" android:text="@string/ucrop_label_edit_photo" android:textColor="@color/ucrop_color_toolbar_widget"/> </android.support.v7.widget.Toolbar> </RelativeLayout>