UNPKG

weex-plugin-image-picker

Version:

image-picker extend for weex

52 lines (43 loc) 1.92 kB
<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"> <android.support.v7.widget.Toolbar android:id="@+id/toolbar" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/ucrop_color_toolbar" android:minHeight="?attr/actionBarSize"> <TextView android:id="@+id/toolbar_title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:text="@string/ucrop_label_edit_photo" android:textColor="@color/ucrop_color_toolbar_widget" android:textSize="18sp" /> </android.support.v7.widget.Toolbar> <FrameLayout android:id="@+id/ucrop_frame" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_above="@+id/wrapper_controls" android:layout_below="@+id/toolbar" android:background="@color/ucrop_color_default_crop_frame"> <!--<ImageView--> <!--android:id="@+id/image_view_logo"--> <!--android:layout_width="200dp"--> <!--android:layout_height="200dp"--> <!--android:layout_gravity="center"--> <!--app:srcCompat="@drawable/ucrop_vector_ic_crop"--> <!--tools:background="@drawable/ucrop_vector_ic_crop"--> <!--tools:ignore="MissingPrefix" />--> <com.yalantis.ucrop.view.UCropView android:id="@+id/ucrop" android:layout_width="match_parent" android:layout_height="match_parent" android:alpha="0" /> </FrameLayout> </RelativeLayout>