|
|
@@ -1,10 +1,10 @@
|
|
|
<?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="wrap_content"
|
|
|
- android:background="@color/bg_underlying"
|
|
|
- android:orientation="vertical">
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/bg_underlying"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
@@ -12,8 +12,8 @@
|
|
|
android:background="#6A6A6A"
|
|
|
android:orientation="horizontal"
|
|
|
android:padding="10dp"
|
|
|
- android:weightSum="4"
|
|
|
- android:visibility="gone">
|
|
|
+ android:visibility="gone"
|
|
|
+ android:weightSum="4">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
@@ -103,11 +103,13 @@
|
|
|
android:textColor="#ffffff" />
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
+
|
|
|
<com.handmark.pulltorefresh.library.PullToRefreshScrollView
|
|
|
android:id="@+id/client_ptrsv"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:fillViewport="false">
|
|
|
+
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
@@ -120,28 +122,29 @@
|
|
|
|
|
|
<RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="40dp">
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
|
<ImageView
|
|
|
- android:layout_toLeftOf="@+id/iv_icon1"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
- android:src="@drawable/crm_left"/>
|
|
|
+ android:layout_toLeftOf="@+id/iv_icon1"
|
|
|
+ android:src="@drawable/crm_left" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/iv_icon1"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textColor="#62B7F2"
|
|
|
android:layout_centerInParent="true"
|
|
|
- android:text="@string/crm_icon1" />
|
|
|
+ android:text="@string/crm_icon1"
|
|
|
+ android:textColor="#62B7F2" />
|
|
|
+
|
|
|
<ImageView
|
|
|
- android:layout_toRightOf="@+id/iv_icon1"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
- android:src="@drawable/crm_right"/>
|
|
|
+ android:layout_toRightOf="@+id/iv_icon1"
|
|
|
+ android:src="@drawable/crm_right" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/ib_ranking_condition"
|
|
|
@@ -187,11 +190,11 @@
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_rank_rirun_left"
|
|
|
- style="@style/crm_tv_ranking_left"/>
|
|
|
+ style="@style/crm_tv_ranking_left" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_rank_rirun_right"
|
|
|
- style="@style/crm_tv_ranking_right"/>
|
|
|
+ style="@style/crm_tv_ranking_right" />
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
|
|
|
@@ -210,7 +213,7 @@
|
|
|
<TextView
|
|
|
android:id="@+id/tv_rank_visit_left"
|
|
|
style="@style/crm_tv_ranking_left"
|
|
|
- android:text="@string/crm_di_ming"/>
|
|
|
+ android:text="@string/crm_di_ming" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_rank_visit_right"
|
|
|
@@ -239,7 +242,7 @@
|
|
|
<TextView
|
|
|
android:id="@+id/tv_rank_income_right"
|
|
|
style="@style/crm_tv_ranking_right"
|
|
|
- android:text="@string/crm_ge"/>
|
|
|
+ android:text="@string/crm_ge" />
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
@@ -254,26 +257,28 @@
|
|
|
<RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="40dp">
|
|
|
+
|
|
|
<ImageView
|
|
|
- android:layout_toLeftOf="@+id/iv_sale"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
- android:src="@drawable/crm_left"/>
|
|
|
-
|
|
|
+ android:layout_toLeftOf="@+id/iv_sale"
|
|
|
+ android:src="@drawable/crm_left" />
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/iv_sale"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textColor="#62B7F2"
|
|
|
android:layout_centerInParent="true"
|
|
|
- android:text="@string/crm_icon2" />
|
|
|
+ android:text="@string/crm_icon2"
|
|
|
+ android:textColor="#62B7F2" />
|
|
|
+
|
|
|
<ImageView
|
|
|
- android:layout_toRightOf="@+id/iv_sale"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
- android:src="@drawable/crm_right"/>
|
|
|
+ android:layout_toRightOf="@+id/iv_sale"
|
|
|
+ android:src="@drawable/crm_right" />
|
|
|
|
|
|
<!-- <ImageButton style="@style/crm_ib_card_topRight"
|
|
|
android:id="@+id/ib_sale_condition" />-->
|
|
|
@@ -483,26 +488,28 @@
|
|
|
<RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="40dp">
|
|
|
+
|
|
|
<ImageView
|
|
|
- android:layout_toLeftOf="@+id/iv_icon3"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
- android:src="@drawable/crm_left"/>
|
|
|
+ android:layout_toLeftOf="@+id/iv_icon3"
|
|
|
+ android:src="@drawable/crm_left" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/iv_icon3"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textColor="#62B7F2"
|
|
|
android:layout_centerInParent="true"
|
|
|
- android:text="@string/crm_icon3" />
|
|
|
+ android:text="@string/crm_icon3"
|
|
|
+ android:textColor="#62B7F2" />
|
|
|
+
|
|
|
<ImageView
|
|
|
- android:layout_toRightOf="@+id/iv_icon3"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
- android:src="@drawable/crm_right"/>
|
|
|
+ android:layout_toRightOf="@+id/iv_icon3"
|
|
|
+ android:src="@drawable/crm_right" />
|
|
|
|
|
|
<!-- <ImageButton style="@style/crm_ib_card_topRight"
|
|
|
android:id="@+id/ib_em_condition" />-->
|
|
|
@@ -537,9 +544,9 @@
|
|
|
|
|
|
<LinearLayout
|
|
|
android:id="@+id/ll_data_one"
|
|
|
- android:visibility="gone"
|
|
|
style="@style/LinearLayout_horizontal"
|
|
|
- android:padding="8dp">
|
|
|
+ android:padding="8dp"
|
|
|
+ android:visibility="gone">
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_em_a"
|
|
|
@@ -568,9 +575,9 @@
|
|
|
|
|
|
<LinearLayout
|
|
|
android:id="@+id/ll_data_two"
|
|
|
- android:visibility="gone"
|
|
|
style="@style/LinearLayout_horizontal"
|
|
|
- android:padding="8dp">
|
|
|
+ android:padding="8dp"
|
|
|
+ android:visibility="gone">
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_em_b"
|
|
|
@@ -599,9 +606,9 @@
|
|
|
|
|
|
<LinearLayout
|
|
|
android:id="@+id/ll_data_three"
|
|
|
- android:visibility="gone"
|
|
|
style="@style/LinearLayout_horizontal"
|
|
|
- android:padding="8dp">
|
|
|
+ android:padding="8dp"
|
|
|
+ android:visibility="gone">
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_em_c"
|
|
|
@@ -834,28 +841,29 @@
|
|
|
|
|
|
<RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="40dp">
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
|
<ImageView
|
|
|
- android:layout_toLeftOf="@+id/iv_icon4"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
- android:src="@drawable/crm_left"/>
|
|
|
+ android:layout_toLeftOf="@+id/iv_icon4"
|
|
|
+ android:src="@drawable/crm_left" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/iv_icon4"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textColor="#62B7F2"
|
|
|
android:layout_centerInParent="true"
|
|
|
- android:text="@string/crm_icon4" />
|
|
|
+ android:text="@string/crm_icon4"
|
|
|
+ android:textColor="#62B7F2" />
|
|
|
+
|
|
|
<ImageView
|
|
|
- android:layout_toRightOf="@+id/iv_icon4"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
- android:src="@drawable/crm_right"/>
|
|
|
+ android:layout_toRightOf="@+id/iv_icon4"
|
|
|
+ android:src="@drawable/crm_right" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/ib_index_condition"
|
|
|
@@ -935,26 +943,28 @@
|
|
|
<RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="40dp">
|
|
|
+
|
|
|
<ImageView
|
|
|
- android:layout_toLeftOf="@+id/iv_icon5"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
- android:src="@drawable/crm_left"/>
|
|
|
+ android:layout_toLeftOf="@+id/iv_icon5"
|
|
|
+ android:src="@drawable/crm_left" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/iv_icon5"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textColor="#62B7F2"
|
|
|
android:layout_centerInParent="true"
|
|
|
- android:text="@string/crm_icon5" />
|
|
|
+ android:text="@string/crm_icon5"
|
|
|
+ android:textColor="#62B7F2" />
|
|
|
+
|
|
|
<ImageView
|
|
|
- android:layout_toRightOf="@+id/iv_icon5"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerVertical="true"
|
|
|
- android:src="@drawable/crm_right"/>
|
|
|
+ android:layout_toRightOf="@+id/iv_icon5"
|
|
|
+ android:src="@drawable/crm_right" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_cu_count"
|
|
|
@@ -973,8 +983,8 @@
|
|
|
|
|
|
<LinearLayout
|
|
|
android:id="@+id/ll_customer_lost"
|
|
|
- android:visibility="gone"
|
|
|
- style="@style/LinearLayout_vertical">
|
|
|
+ style="@style/LinearLayout_vertical"
|
|
|
+ android:visibility="gone">
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_customer_name"
|
|
|
@@ -1044,20 +1054,21 @@
|
|
|
<LinearLayout
|
|
|
android:id="@+id/ll_data_more"
|
|
|
style="@style/LinearLayout_horizontal"
|
|
|
- android:layout_margin="10dp">
|
|
|
+ android:padding="10dp">
|
|
|
|
|
|
<TextView
|
|
|
style="@style/TextView_VerticalCenter"
|
|
|
- android:layout_height="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:layout_weight="1"
|
|
|
android:gravity="center"
|
|
|
- android:textColor="@color/gray"
|
|
|
- android:text="默认显示一个遗忘客户,点击显示更多" />
|
|
|
+ android:text="默认显示一个遗忘客户,点击显示更多"
|
|
|
+ android:textColor="@color/gray" />
|
|
|
+
|
|
|
<ImageView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:gravity="center"
|
|
|
android:layout_marginRight="10dp"
|
|
|
+ android:gravity="center"
|
|
|
android:src="@drawable/ic_more_blue_arrow" />
|
|
|
|
|
|
</LinearLayout>
|