|
|
@@ -8,22 +8,234 @@
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="56dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/colorPrimary"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:minHeight="64dp"
|
|
|
android:orientation="horizontal"
|
|
|
- android:background="@color/colorPrimary">
|
|
|
+ android:paddingStart="@dimen/margin_default"
|
|
|
+ android:paddingTop="@dimen/margin_ss"
|
|
|
+ android:paddingEnd="@dimen/margin_default"
|
|
|
+ android:paddingBottom="@dimen/margin_ss">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@mipmap/logo" />
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="end"
|
|
|
+ android:text="@string/app_name"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="18sp" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
- <com.miekir.ocr.view.AutoFitTextureView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentTop="true"
|
|
|
- android:id="@+id/textureView" />
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
|
- <Button
|
|
|
- android:text="Button"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:id="@+id/button" />
|
|
|
+ <com.miekir.ocr.view.AutoFitTextureView
|
|
|
+ android:id="@+id/textureView"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <Space
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="4" />
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="3"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0.8dp"
|
|
|
+ android:background="@color/white" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <Space
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingTop="@dimen/margin_s"
|
|
|
+ android:paddingBottom="@dimen/margin_default">
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="@dimen/width_focus"
|
|
|
+ android:layout_height="@dimen/width_focus"
|
|
|
+ android:layout_marginTop="@dimen/margin_s"
|
|
|
+ android:layout_marginBottom="@dimen/margin_s"
|
|
|
+ android:background="@drawable/shape_circle" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="邮政编码"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/size_text_title"/>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <Space
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingTop="@dimen/margin_s"
|
|
|
+ android:paddingBottom="@dimen/margin_default">
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="@dimen/width_focus"
|
|
|
+ android:layout_height="@dimen/width_focus"
|
|
|
+ android:layout_marginTop="@dimen/margin_s"
|
|
|
+ android:layout_marginBottom="@dimen/margin_s"
|
|
|
+ android:background="@drawable/shape_circle" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="住址"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/size_text_title"/>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <Space
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingTop="@dimen/margin_s"
|
|
|
+ android:paddingBottom="@dimen/margin_default">
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="@dimen/width_focus"
|
|
|
+ android:layout_height="@dimen/width_focus"
|
|
|
+ android:layout_marginTop="@dimen/margin_s"
|
|
|
+ android:layout_marginBottom="@dimen/margin_s"
|
|
|
+ android:background="@drawable/shape_circle" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="姓名"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/size_text_title"/>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <Space
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingTop="@dimen/margin_s"
|
|
|
+ android:paddingBottom="@dimen/margin_default">
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="@dimen/width_focus"
|
|
|
+ android:layout_height="@dimen/width_focus"
|
|
|
+ android:layout_marginTop="@dimen/margin_s"
|
|
|
+ android:layout_marginBottom="@dimen/margin_s"
|
|
|
+ android:background="@drawable/shape_circle" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="全范围"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/size_text_title"/>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <Space
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:gravity="center_vertical">
|
|
|
+
|
|
|
+ <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"/>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/fl_take"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@mipmap/button_take"
|
|
|
+ android:layout_gravity="center"/>
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@mipmap/button_take_out"
|
|
|
+ android:layout_gravity="center"/>
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ <Space
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1" />
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <!--灰色遮罩-->
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
+ </FrameLayout>
|
|
|
</LinearLayout>
|