|
@@ -37,27 +37,27 @@
|
|
|
android:textSize="@dimen/text_hine" />
|
|
android:textSize="@dimen/text_hine" />
|
|
|
|
|
|
|
|
<View
|
|
<View
|
|
|
|
|
+ android:id="@+id/line"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="@dimen/line"
|
|
android:layout_height="@dimen/line"
|
|
|
- android:id="@+id/line"
|
|
|
|
|
android:layout_below="@id/codeTv"
|
|
android:layout_below="@id/codeTv"
|
|
|
android:background="@color/item_line" />
|
|
android:background="@color/item_line" />
|
|
|
|
|
|
|
|
- <RelativeLayout
|
|
|
|
|
|
|
+ <LinearLayout
|
|
|
android:id="@+id/orderInfoRl"
|
|
android:id="@+id/orderInfoRl"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_below="@id/codeTv"
|
|
android:layout_below="@id/codeTv"
|
|
|
- android:layout_marginTop="@dimen/padding">
|
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/padding"
|
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
android:id="@+id/fromLL"
|
|
android:id="@+id/fromLL"
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_below="@id/codeTv"
|
|
|
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_marginLeft="20dp"
|
|
|
android:layout_marginRight="@dimen/padding"
|
|
android:layout_marginRight="@dimen/padding"
|
|
|
- android:layout_marginTop="@dimen/padding"
|
|
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
android:gravity="center_horizontal"
|
|
android:gravity="center_horizontal"
|
|
|
android:orientation="vertical">
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
@@ -65,7 +65,10 @@
|
|
|
android:id="@+id/fromCityTv"
|
|
android:id="@+id/fromCityTv"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="上海"
|
|
|
|
|
|
|
+ android:ellipsize="end"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:maxLines="2"
|
|
|
|
|
+ android:text=""
|
|
|
android:textColor="@color/white"
|
|
android:textColor="@color/white"
|
|
|
android:textSize="@dimen/textXXL" />
|
|
android:textSize="@dimen/textXXL" />
|
|
|
|
|
|
|
@@ -89,14 +92,23 @@
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
+ <com.modular.apputils.widget.TravelDirectionView
|
|
|
|
|
+ android:id="@+id/mTravelDirectionView"
|
|
|
|
|
+ android:layout_width="80dp"
|
|
|
|
|
+ android:layout_height="60dp"
|
|
|
|
|
+ app:time="2小时20分"
|
|
|
|
|
+ app:timeSize="14dp"
|
|
|
|
|
+ app:title="D7890"
|
|
|
|
|
+ app:titleSize="16dp" />
|
|
|
|
|
+
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
android:id="@+id/toLL"
|
|
android:id="@+id/toLL"
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentRight="true"
|
|
|
- android:layout_alignTop="@id/fromLL"
|
|
|
|
|
android:layout_marginLeft="@dimen/padding"
|
|
android:layout_marginLeft="@dimen/padding"
|
|
|
android:layout_marginRight="20dp"
|
|
android:layout_marginRight="20dp"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
android:gravity="center_horizontal"
|
|
android:gravity="center_horizontal"
|
|
|
android:orientation="vertical">
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
@@ -106,7 +118,8 @@
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentRight="true"
|
|
|
android:layout_below="@id/codeTv"
|
|
android:layout_below="@id/codeTv"
|
|
|
- android:text="深圳"
|
|
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:text=""
|
|
|
android:textColor="@color/white"
|
|
android:textColor="@color/white"
|
|
|
android:textSize="@dimen/textXXL" />
|
|
android:textSize="@dimen/textXXL" />
|
|
|
|
|
|
|
@@ -133,20 +146,7 @@
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
- <com.modular.apputils.widget.TravelDirectionView
|
|
|
|
|
- android:id="@+id/mTravelDirectionView"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="60dp"
|
|
|
|
|
- android:layout_alignTop="@id/fromLL"
|
|
|
|
|
- android:layout_toLeftOf="@id/toLL"
|
|
|
|
|
- android:layout_toRightOf="@id/fromLL"
|
|
|
|
|
- app:time="2小时20分"
|
|
|
|
|
- app:timeSize="@dimen/text_hine"
|
|
|
|
|
- app:title="D7890"
|
|
|
|
|
- app:titleSize="@dimen/text_main" />
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- </RelativeLayout>
|
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
@@ -185,7 +185,7 @@
|
|
|
android:layout_marginLeft="@dimen/padding"
|
|
android:layout_marginLeft="@dimen/padding"
|
|
|
android:layout_toLeftOf="@id/idTypeTv"
|
|
android:layout_toLeftOf="@id/idTypeTv"
|
|
|
android:layout_toRightOf="@id/nameTv"
|
|
android:layout_toRightOf="@id/nameTv"
|
|
|
- android:text="4501221994312319827"
|
|
|
|
|
|
|
+ android:text=""
|
|
|
android:textColor="@color/text_hine"
|
|
android:textColor="@color/text_hine"
|
|
|
android:textSize="@dimen/text_hine" />
|
|
android:textSize="@dimen/text_hine" />
|
|
|
|
|
|
|
@@ -193,7 +193,7 @@
|
|
|
android:id="@+id/orderTypeTv"
|
|
android:id="@+id/orderTypeTv"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_below="@id/nameTv"
|
|
|
|
|
|
|
+ android:layout_below="@id/idCardTv"
|
|
|
android:layout_marginBottom="@dimen/padding"
|
|
android:layout_marginBottom="@dimen/padding"
|
|
|
android:layout_marginTop="@dimen/padding"
|
|
android:layout_marginTop="@dimen/padding"
|
|
|
android:text="1间"
|
|
android:text="1间"
|
|
@@ -217,12 +217,12 @@
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_alignTop="@id/orderTypeTv"
|
|
android:layout_alignTop="@id/orderTypeTv"
|
|
|
android:layout_marginLeft="30dp"
|
|
android:layout_marginLeft="30dp"
|
|
|
|
|
+ android:layout_toLeftOf="@+id/payTypeTv"
|
|
|
android:layout_toRightOf="@id/seatTv"
|
|
android:layout_toRightOf="@id/seatTv"
|
|
|
- android:text="54元"
|
|
|
|
|
|
|
+ android:ellipsize="end"
|
|
|
android:lines="1"
|
|
android:lines="1"
|
|
|
android:paddingRight="3dp"
|
|
android:paddingRight="3dp"
|
|
|
- android:ellipsize="end"
|
|
|
|
|
- android:layout_toLeftOf="@+id/payTypeTv"
|
|
|
|
|
|
|
+ android:text="54元"
|
|
|
android:textColor="@color/indianred"
|
|
android:textColor="@color/indianred"
|
|
|
android:textSize="@dimen/text_main" />
|
|
android:textSize="@dimen/text_main" />
|
|
|
|
|
|