d
This commit is contained in:
11
app/src/main/res/drawable/bg_markingxinxi.xml
Normal file
11
app/src/main/res/drawable/bg_markingxinxi.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#ffffff" />
|
||||
|
||||
<corners
|
||||
android:bottomLeftRadius="5dp"
|
||||
android:bottomRightRadius="5dp"
|
||||
android:topLeftRadius="5dp"
|
||||
android:topRightRadius="5dp" />
|
||||
</shape>
|
||||
BIN
app/src/main/res/drawable/marking_zhaikai.png
Normal file
BIN
app/src/main/res/drawable/marking_zhaikai.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
8
app/src/main/res/drawable/toast_bg.xml
Normal file
8
app/src/main/res/drawable/toast_bg.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="#21211d" />
|
||||
<corners android:topLeftRadius="10dp"
|
||||
android:topRightRadius="10dp"
|
||||
android:bottomRightRadius="10dp"
|
||||
android:bottomLeftRadius="10dp"/>
|
||||
</shape>
|
||||
157
app/src/main/res/layout/activity_customer_detail.xml
Normal file
157
app/src/main/res/layout/activity_customer_detail.xml
Normal file
@@ -0,0 +1,157 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#ffffff"
|
||||
>
|
||||
|
||||
<com.example.administrator.seven.widget.TitleBar
|
||||
android:id="@+id/title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="56dp"
|
||||
android:background="#f3f3f3"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:layout_marginRight="12dp"
|
||||
android:background="@drawable/bg_markingxinxi">
|
||||
|
||||
<com.example.administrator.seven.widget.CircleImageView
|
||||
android:id="@+id/iv_dra_user_heads"
|
||||
android:layout_width="83dp"
|
||||
android:layout_height="83dp"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginTop="11.5dp"
|
||||
android:layout_marginBottom="11.5dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:src="@mipmap/icon_default_head" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/sdfsdfsdfsdf"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_toRightOf="@+id/iv_dra_user_heads"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_dra_user_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_toRightOf="@+id/iv_dra_user_heads"
|
||||
android:text="姓名:--"
|
||||
android:textSize="14sp" />
|
||||
<TextView
|
||||
android:id="@+id/tv_dar_user_phone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/tv_user_name"
|
||||
android:layout_marginTop="15dp"
|
||||
android:layout_toRightOf="@+id/iv_user_heads"
|
||||
android:text="电话:— —"
|
||||
android:textSize="14sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="52dp"
|
||||
android:layout_marginTop="7dp"
|
||||
android:background="@color/colorWhite"
|
||||
>
|
||||
<TextView
|
||||
android:id="@+id/tv_dra_info01"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="20dp"
|
||||
android:layout_marginLeft="16.5dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:text="家装阶段:"
|
||||
android:textColor="#ff000000"
|
||||
android:textSize="14sp" />
|
||||
<TextView
|
||||
android:id="@+id/tv_dra_info02"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="20dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="16.5dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:text="毛胚"
|
||||
android:textColor="#ff000000"
|
||||
android:textSize="14sp" />
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="52dp"
|
||||
android:layout_marginTop="7dp"
|
||||
android:background="@color/colorWhite"
|
||||
>
|
||||
<TextView
|
||||
android:id="@+id/tv_dra_info03"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="20dp"
|
||||
android:layout_marginLeft="16.5dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:text="风格"
|
||||
android:textColor="#ff000000"
|
||||
android:textSize="14sp" />
|
||||
<TextView
|
||||
android:id="@+id/tv_dra_info04"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="20dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="16.5dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:text="美式"
|
||||
android:textColor="#ff000000"
|
||||
android:textSize="14sp" />
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="52dp"
|
||||
android:layout_marginTop="7dp"
|
||||
android:background="@color/colorWhite"
|
||||
>
|
||||
<TextView
|
||||
android:id="@+id/tv_dra_info05"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="20dp"
|
||||
android:layout_marginLeft="16.5dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:text="预算"
|
||||
android:textColor="#ff000000"
|
||||
android:textSize="14sp" />
|
||||
<TextView
|
||||
android:id="@+id/tv_dra_info06"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="20dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="16.5dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:text="10万"
|
||||
android:textColor="#ff000000"
|
||||
android:textSize="14sp" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
75
app/src/main/res/layout/activity_design.xml
Normal file
75
app/src/main/res/layout/activity_design.xml
Normal file
@@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/colorWhite"
|
||||
>
|
||||
<com.example.administrator.seven.widget.TitleBar
|
||||
android:id="@+id/title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_des"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_below="@+id/title_bar"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="#ffffff"
|
||||
android:layout_height="50dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:src="@mipmap/icon_add_des"
|
||||
/>
|
||||
<TextView
|
||||
android:id="@+id/btn_add"
|
||||
android:layout_toRightOf="@+id/image"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="#ffffff"
|
||||
android:text="添加分配"
|
||||
android:textColor="#ff404040"
|
||||
android:paddingTop="14dp"
|
||||
android:paddingBottom="14dp"
|
||||
android:textSize="15sp"
|
||||
/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
android:layout_below="@+id/rl_des"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_4"
|
||||
android:background="#f5f5f5"
|
||||
/>
|
||||
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/label_rv_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="106dp"
|
||||
/>
|
||||
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_commit"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:text="确定分配"
|
||||
android:textColor="#ff404040"
|
||||
android:layout_marginLeft="24dp"
|
||||
android:layout_marginRight="24dp"
|
||||
android:layout_marginBottom="12dp"
|
||||
android:background="@drawable/button_pass_bg"
|
||||
android:paddingTop="14dp"
|
||||
android:paddingBottom="14dp"
|
||||
android:textSize="15sp"
|
||||
/>
|
||||
|
||||
</RelativeLayout>
|
||||
111
app/src/main/res/layout/activity_design_two.xml
Normal file
111
app/src/main/res/layout/activity_design_two.xml
Normal file
@@ -0,0 +1,111 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/colorWhite"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:text="订单类型:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/marking_13_sp" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_dingdan_type"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_dingdan_type"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:hint="请选择行业"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingBottom="8dp"
|
||||
android:textColor="@color/colorBlack"
|
||||
android:textSize="@dimen/marking_13_sp" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
<ImageView
|
||||
android:layout_width="15dp"
|
||||
android:layout_height="15dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="10dp"
|
||||
android:src="@drawable/marking_zhaikai" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/ll_address"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center_vertical"
|
||||
android:text="收货地址:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/marking_13_sp" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/et_receive_collect"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="9.5"
|
||||
android:hint="请选择省市区"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/marking_13_sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
||||
@@ -8,11 +8,13 @@
|
||||
layout="@layout/title_layout"/>
|
||||
|
||||
<LinearLayout
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_200"
|
||||
android:background="@mipmap/home_imageview"/>
|
||||
|
||||
<TextView
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/colorWhite"
|
||||
@@ -25,6 +27,7 @@
|
||||
android:background="@color/color_303030"/>
|
||||
|
||||
<LinearLayout
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
@@ -153,6 +156,7 @@
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
13
app/src/main/res/layout/order_type_dialog_view.xml
Normal file
13
app/src/main/res/layout/order_type_dialog_view.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/tv_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingBottom="8dp"
|
||||
android:textSize="@dimen/marking_13_sp"
|
||||
android:textColor="@color/black">
|
||||
|
||||
|
||||
</TextView>
|
||||
22
app/src/main/res/layout/toast.xml
Normal file
22
app/src/main/res/layout/toast.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/toast_bg">
|
||||
|
||||
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/message"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:shadowColor="#bbfcd603"
|
||||
android:shadowRadius="1.5"
|
||||
android:textColor="@color/colorWhite" />
|
||||
</LinearLayout>
|
||||
BIN
app/src/main/res/mipmap-hdpi/icon_add_des.png
Normal file
BIN
app/src/main/res/mipmap-hdpi/icon_add_des.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
BIN
app/src/main/res/mipmap-mdpi/icon_add_des.png
Normal file
BIN
app/src/main/res/mipmap-mdpi/icon_add_des.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 909 B |
BIN
app/src/main/res/mipmap-xhdpi/icon_add_des.png
Normal file
BIN
app/src/main/res/mipmap-xhdpi/icon_add_des.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/icon_add_des.png
Normal file
BIN
app/src/main/res/mipmap-xxhdpi/icon_add_des.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.9 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/icon_add_des.png
Normal file
BIN
app/src/main/res/mipmap-xxxhdpi/icon_add_des.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
Reference in New Issue
Block a user