| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/white"
- android:fitsSystemWindows="true"
- android:orientation="vertical" >
- <include
- android:id="@+id/titlebar"
- layout="@layout/fragment_title" />
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1" >
- <FrameLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical" >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/white"
- android:orientation="vertical" >
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="@dimen/ll_layout_height_50" >
- <TextView
- android:id="@+id/customerCodeTitle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="15dp"
- android:text="客户编码"
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_14" />
- <EditText
- android:id="@+id/searchcustomercode"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="@dimen/et_layout_marginLeft_30"
- android:layout_toRightOf="@id/customerCodeTitle"
- android:background="@null"
- android:hint="客户编码与客户名称不能同时为空"
- android:singleLine="true"
- android:text=""
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_14" />
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
- android:layout_toRightOf="@id/customerCodeTitle"
- android:background="@color/white"
- android:orientation="vertical" >
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/EBEBEB" />
- </LinearLayout>
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="@dimen/ll_layout_height_50" >
- <TextView
- android:id="@+id/customerNameTitle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="15dp"
- android:text="客户姓名"
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_14" />
- <EditText
- android:id="@+id/etCustomerName"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="@dimen/et_layout_marginLeft_30"
- android:layout_toRightOf="@id/customerNameTitle"
- android:background="@null"
- android:hint="客户编码与客户名称不能同时为空"
- android:singleLine="true"
- android:text=""
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_14" />
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
- android:layout_toRightOf="@id/customerNameTitle"
- android:background="@color/white"
- android:orientation="vertical" >
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/EBEBEB" />
- </LinearLayout>
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="@dimen/ll_layout_height_50" >
- <TextView
- android:id="@+id/channelTitle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="15dp"
- android:text="渠 道"
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_14" />
- <LinearLayout
- android:id="@+id/channelLin"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="@dimen/ll_layout_marginLeft_30"
- android:layout_toRightOf="@id/channelTitle"
- android:orientation="horizontal" >
- <TextView
- android:id="@+id/tvChannel"
- android:layout_width="180dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/et_layout_marginLeft_3"
- android:hint="请选择渠道"
- android:text=""
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_14" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="right"
- android:orientation="horizontal" >
- <ImageView
- android:id="@+id/channelIv"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_marginRight="15dp"
- android:src="@drawable/right" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
- android:layout_toRightOf="@id/channelTitle"
- android:background="@color/white"
- android:orientation="vertical" >
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/EBEBEB" />
- </LinearLayout>
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="@dimen/ll_layout_height_50" >
- <TextView
- android:id="@+id/customerTypeTitle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="15dp"
- android:text="客户性质"
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_14" />
- <LinearLayout
- android:id="@+id/customerTypeLin"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="@dimen/ll_layout_marginLeft_30"
- android:layout_toRightOf="@id/customerTypeTitle"
- android:orientation="horizontal" >
- <TextView
- android:id="@+id/CustomerType"
- android:layout_width="180dp"
- android:layout_height="wrap_content"
- android:hint="请输入客户性质"
- android:text=""
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_14" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="right"
- android:orientation="horizontal" >
- <ImageView
- android:id="@+id/customerTypeIv"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_marginRight="15dp"
- android:src="@drawable/right" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
- android:layout_toRightOf="@id/customerTypeTitle"
- android:background="@color/white"
- android:orientation="vertical" >
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/EBEBEB" />
- </LinearLayout>
- </RelativeLayout>
- </LinearLayout>
- <!-- 4--listview -->
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_marginTop="20dp"
- android:layout_weight="1"
- android:background="@color/white"
- android:orientation="vertical" >
- <!-- <com.dongke.views.NoScrollListView -->
- <!-- android:id="@+id/searchlist" -->
- <!-- android:layout_width="wrap_content" -->
- <!-- android:layout_height="wrap_content" -->
- <!-- > -->
- <!-- </com.dongke.views.NoScrollListView> -->
- <View
- android:layout_width="match_parent"
- android:layout_height="@dimen/view_layout_height_1"
- android:background="@color/EBEBEB" />
- <com.dongkesoft.ibossmini.viewscroll.NoScrollListView
- android:id="@+id/searchlist"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:divider="@color/lightgray" >
- </com.dongkesoft.ibossmini.viewscroll.NoScrollListView>
- </LinearLayout>
- </LinearLayout>
- </FrameLayout>
- </ScrollView>
- <!--
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/EBEBEB" />
- -->
- <View
- android:layout_width="match_parent"
- android:layout_height="@dimen/view_layout_height_1"
- android:background="#1000" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:orientation="horizontal"
- android:padding="10dp" >
- <ImageView
- android:id="@+id/searchc"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:gravity="center_vertical"
- android:src="@drawable/im_chaxun" />
- </LinearLayout>
- </LinearLayout>
|