|
|
@@ -42,6 +42,30 @@
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="match_parent" />
|
|
|
|
|
|
+ <com.isseiaoki.simplecropview.CropImageView
|
|
|
+ xmlns:custom="http://schemas.android.com/apk/res-auto"
|
|
|
+ android:id="@+id/cropImageView"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:paddingTop="16dp"
|
|
|
+ android:paddingBottom="16dp"
|
|
|
+ android:paddingLeft="16dp"
|
|
|
+ android:paddingRight="16dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ custom:scv_crop_mode="fit_image"
|
|
|
+ custom:scv_background_color="@color/black_transparent"
|
|
|
+ custom:scv_handle_color="@color/colorAccent"
|
|
|
+ custom:scv_guide_color="@color/colorAccent"
|
|
|
+ custom:scv_overlay_color="@color/black_transparent"
|
|
|
+ custom:scv_frame_color="@color/colorAccent"
|
|
|
+ custom:scv_handle_size="14dp"
|
|
|
+ custom:scv_touch_padding="8dp"
|
|
|
+ custom:scv_handle_show_mode="show_always"
|
|
|
+ custom:scv_guide_show_mode="show_always"
|
|
|
+ custom:scv_min_frame_size="50dp"
|
|
|
+ custom:scv_frame_stroke_weight="1dp"
|
|
|
+ custom:scv_guide_stroke_weight="1dp"/>
|
|
|
+
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
@@ -95,7 +119,7 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:text="邮政编码"
|
|
|
android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/size_text_title"/>
|
|
|
+ android:textSize="@dimen/size_text_title" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
<Space
|
|
|
@@ -123,7 +147,7 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:text="住址"
|
|
|
android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/size_text_title"/>
|
|
|
+ android:textSize="@dimen/size_text_title" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
<Space
|
|
|
@@ -151,7 +175,7 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:text="姓名"
|
|
|
android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/size_text_title"/>
|
|
|
+ android:textSize="@dimen/size_text_title" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
<Space
|
|
|
@@ -179,7 +203,7 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:text="全范围"
|
|
|
android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/size_text_title"/>
|
|
|
+ android:textSize="@dimen/size_text_title" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
<Space
|
|
|
@@ -192,18 +216,19 @@
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:gravity="center_vertical">
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
<RelativeLayout
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_weight="1">
|
|
|
+
|
|
|
<ImageView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:src="@mipmap/button_album"
|
|
|
- android:layout_centerInParent="true"/>
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:src="@mipmap/button_album" />
|
|
|
</RelativeLayout>
|
|
|
|
|
|
<FrameLayout
|
|
|
@@ -214,13 +239,14 @@
|
|
|
<ImageView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:src="@mipmap/button_take"
|
|
|
- android:layout_gravity="center"/>
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:src="@mipmap/button_take" />
|
|
|
+
|
|
|
<ImageView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:src="@mipmap/button_take_out"
|
|
|
- android:layout_gravity="center"/>
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:src="@mipmap/button_take_out" />
|
|
|
</FrameLayout>
|
|
|
|
|
|
<Space
|
|
|
@@ -231,11 +257,6 @@
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <!--灰色遮罩-->
|
|
|
- <FrameLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
|
|
|
- </FrameLayout>
|
|
|
</FrameLayout>
|
|
|
</LinearLayout>
|