|
@@ -1,93 +1,115 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- xmlns:app="http://schemas.android.com/apk/res-auto" >
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
+
|
|
|
+ <data>
|
|
|
|
|
|
- <data >
|
|
|
<import type="android.view.View" />
|
|
|
+
|
|
|
<variable
|
|
|
name="vm"
|
|
|
type="com.quansu.heifengwuliu.vmodel.InvoiceTitleVModel" />
|
|
|
- </data >
|
|
|
+ </data>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:paddingStart="@dimen/dp_14"
|
|
|
- android:orientation="vertical"
|
|
|
- android:paddingEnd="@dimen/dp_14" >
|
|
|
+ android:background="@color/color_bg"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
- android:id="@+id/lay_input"
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/dp_12"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="vertical"
|
|
|
- android:paddingStart="@dimen/dp_8"
|
|
|
- android:paddingEnd="@dimen/dp_14"
|
|
|
- app:qmui_borderColor="#F4F3F9"
|
|
|
- app:qmui_borderWidth="@dimen/dp_1"
|
|
|
- app:rv_radius="25dp" >
|
|
|
+ android:background="@color/white"
|
|
|
+ android:paddingStart="15dp"
|
|
|
+ android:paddingEnd="15dp"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
|
|
|
<com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="48dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:gravity="center_vertical"
|
|
|
+ android:orientation="vertical"
|
|
|
android:paddingStart="@dimen/dp_8"
|
|
|
- android:paddingEnd="@dimen/dp_14" >
|
|
|
+ android:paddingEnd="@dimen/dp_14">
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:textColor="#5D5E5F"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
android:text="名 称" />
|
|
|
|
|
|
<com.ysnows.base.widget.DelEditText
|
|
|
-
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:background="@color/white"
|
|
|
+ android:layout_marginTop="18dp"
|
|
|
+ android:layout_marginBottom="7dp"
|
|
|
android:hint="@string/please_enter"
|
|
|
- android:paddingStart="@dimen/dp_18"
|
|
|
android:text="@={vm.company}"
|
|
|
- android:textSize="@dimen/sp_13" />
|
|
|
+ android:textColorHint="#ACAFAC"
|
|
|
+ android:textColor="#26292F"
|
|
|
+ android:textSize="@dimen/sp_14" />
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout >
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:background="#EFF0F1"
|
|
|
+ android:layout_height="1dp"/>
|
|
|
|
|
|
<com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="48dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:gravity="center_vertical"
|
|
|
android:paddingStart="@dimen/dp_8"
|
|
|
- android:paddingEnd="@dimen/dp_14" >
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingEnd="@dimen/dp_14">
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:textColor="#5D5E5F"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:textSize="12sp"
|
|
|
android:text="税 号" />
|
|
|
|
|
|
<com.ysnows.base.widget.DelEditText
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:background="@color/white"
|
|
|
+ android:layout_marginTop="18dp"
|
|
|
+ android:layout_marginBottom="7dp"
|
|
|
android:hint="@string/please_enter"
|
|
|
- android:paddingStart="@dimen/dp_18"
|
|
|
+ android:textColorHint="#ACAFAC"
|
|
|
+ android:textColor="#26292F"
|
|
|
android:text="@={vm.sn}"
|
|
|
android:textSize="@dimen/sp_13" />
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout >
|
|
|
-
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:background="#EFF0F1"
|
|
|
+ android:layout_height="1dp"/>
|
|
|
<com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="48dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
android:gravity="center_vertical"
|
|
|
android:paddingStart="@dimen/dp_8"
|
|
|
- android:paddingEnd="@dimen/dp_14" >
|
|
|
+ android:paddingEnd="@dimen/dp_14">
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:textColor="#5D5E5F"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:textSize="12sp"
|
|
|
android:text="单位地址" />
|
|
|
|
|
|
<com.ysnows.base.widget.DelEditText
|
|
@@ -95,22 +117,34 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:background="@color/white"
|
|
|
+ android:layout_marginTop="18dp"
|
|
|
+ android:layout_marginBottom="7dp"
|
|
|
android:hint="@string/please_enter"
|
|
|
- android:paddingStart="@dimen/dp_18"
|
|
|
+ android:textColorHint="#ACAFAC"
|
|
|
+ android:textColor="#26292F"
|
|
|
android:text="@={vm.addr}"
|
|
|
android:textSize="@dimen/sp_13" />
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout >
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:background="#EFF0F1"
|
|
|
+ android:layout_height="1dp"/>
|
|
|
<com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="48dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
android:gravity="center_vertical"
|
|
|
android:paddingStart="@dimen/dp_8"
|
|
|
- android:paddingEnd="@dimen/dp_14" >
|
|
|
+ android:paddingEnd="@dimen/dp_14">
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:textColor="#5D5E5F"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:textSize="12sp"
|
|
|
android:text="电话号码" />
|
|
|
|
|
|
<com.ysnows.base.widget.DelEditText
|
|
@@ -118,45 +152,67 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:background="@color/white"
|
|
|
+ android:layout_marginTop="18dp"
|
|
|
+ android:layout_marginBottom="7dp"
|
|
|
android:hint="@string/please_enter"
|
|
|
android:inputType="phone"
|
|
|
- android:paddingStart="@dimen/dp_18"
|
|
|
+ android:textColorHint="#ACAFAC"
|
|
|
+ android:textColor="#26292F"
|
|
|
android:text="@={vm.tel}"
|
|
|
android:textSize="@dimen/sp_13" />
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout >
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:background="#EFF0F1"
|
|
|
+ android:layout_height="1dp"/>
|
|
|
<com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="48dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:gravity="center_vertical"
|
|
|
android:paddingStart="@dimen/dp_8"
|
|
|
- android:paddingEnd="@dimen/dp_14" >
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingEnd="@dimen/dp_14">
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:textColor="#5D5E5F"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:textSize="12sp"
|
|
|
android:text="开户银行" />
|
|
|
|
|
|
<com.ysnows.base.widget.DelEditText
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:background="@color/white"
|
|
|
+ android:textColorHint="#ACAFAC"
|
|
|
+ android:textColor="#26292F"
|
|
|
android:hint="@string/please_enter"
|
|
|
- android:paddingStart="@dimen/dp_18"
|
|
|
+ android:layout_marginTop="18dp"
|
|
|
+ android:layout_marginBottom="7dp"
|
|
|
android:text="@={vm.bank}"
|
|
|
android:textSize="@dimen/sp_13" />
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout >
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:background="#EFF0F1"
|
|
|
+ android:layout_height="1dp"/>
|
|
|
<com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="48dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:gravity="center_vertical"
|
|
|
+ android:orientation="vertical"
|
|
|
android:paddingStart="@dimen/dp_8"
|
|
|
- android:paddingEnd="@dimen/dp_14" >
|
|
|
+ android:paddingEnd="@dimen/dp_14">
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:textColor="#5D5E5F"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:textSize="12sp"
|
|
|
android:text="银行账号" />
|
|
|
|
|
|
<com.ysnows.base.widget.DelEditText
|
|
@@ -164,34 +220,58 @@
|
|
|
android:layout_height="match_parent"
|
|
|
android:background="@color/white"
|
|
|
android:hint="@string/please_enter"
|
|
|
- android:paddingStart="@dimen/dp_18"
|
|
|
+ android:layout_marginTop="18dp"
|
|
|
+ android:layout_marginBottom="7dp"
|
|
|
+ android:textColorHint="#ACAFAC"
|
|
|
+ android:textColor="#26292F"
|
|
|
android:text="@={vm.number}"
|
|
|
android:textSize="@dimen/sp_13" />
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout >
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
|
|
|
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:background="#EFF0F1"
|
|
|
+ android:layout_marginBottom="25dp"
|
|
|
+ android:layout_height="1dp"/>
|
|
|
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout >
|
|
|
|
|
|
<View
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:layout_height="0dp"></View>
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="1"></View>
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
|
|
|
- android:id="@+id/btn_submmit"
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/dp_40"
|
|
|
- android:layout_marginStart="@dimen/dp_30"
|
|
|
- android:layout_marginEnd="@dimen/dp_30"
|
|
|
- android:layout_marginBottom="@dimen/dp_30"
|
|
|
- android:onClick="@{v->vm.toSubmit()}"
|
|
|
- android:text="@string/save"
|
|
|
- />
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
+ android:layout_marginEnd="@dimen/dp_16"
|
|
|
+ android:onClick="@{v->vm.toSubmit()}">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="106dp"
|
|
|
+ android:src="@drawable/ic_details_grab" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:text="@string/save"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="16sp">
|
|
|
+
|
|
|
+ </TextView>
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
|
|
|
- </LinearLayout >
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
-</layout >
|
|
|
+</layout>
|