Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

android / dayu

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • dayu
  • orderCenter
  • src
  • main
  • res
  • layout
  • fragment_orderdoing_item.xml
Find file
Normal viewHistoryPermalink
fragment_orderdoing_item.xml 11.4 KB
Newer Older
yu's avatar
init
e37b6764
 
yu committed 7 years ago
1
<?xml version="1.0" encoding="utf-8"?>
罗翻's avatar
消息模块增加mvvm模式
4ffdfe68
 
罗翻 committed 7 years ago
2
<layout xmlns:android="http://schemas.android.com/apk/res/android">
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
3 4 5 6 7

    <data>

        <variable
            name="item"
罗翻's avatar
增加ordercenter和loctionlib
ae60479a
 
罗翻 committed 7 years ago
8
            type="com.dayu.order.api.protocol.Order" />
罗翻's avatar
将mvp替换成mvvm
d478f62a
 
罗翻 committed 7 years ago
9

罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
10 11
    </data>

罗翻's avatar
消息模块增加mvvm模式
4ffdfe68
 
罗翻 committed 7 years ago
12 13 14 15 16 17 18 19
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="@dimen/dp_13.3"
        android:layout_marginRight="@dimen/dp_13.3"
        android:layout_marginTop="5dp"
        android:background="@drawable/item_shape"
        android:orientation="vertical">
罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
20 21

        <LinearLayout
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
22 23 24
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="1"
罗翻's avatar
将mvp替换成mvvm
d478f62a
 
罗翻 committed 7 years ago
25
            android:orientation="horizontal">
罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
26

罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
27
            <LinearLayout
罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
28
                android:layout_width="wrap_content"
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
29
                android:layout_height="match_parent"
罗翻's avatar
将mvp替换成mvvm
d478f62a
 
罗翻 committed 7 years ago
30
                android:orientation="vertical">
罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
31

罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
32 33 34 35 36 37 38 39 40
                <TextView
                    android:id="@+id/tv_order_time"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="25.3dp"
                    android:layout_marginTop="@dimen/dp_16.7"
                    android:text="@string/tv_home_tab_one_subscribe_time"
                    android:textColor="#3a3a3a"
                    android:textSize="13.3sp"
罗翻's avatar
将mvp替换成mvvm
d478f62a
 
罗翻 committed 7 years ago
41
                    android:textStyle="bold" />
罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
42

罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
43 44 45 46 47 48 49 50
                <TextView
                    android:id="@+id/item_tody"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="right"
                    android:layout_marginTop="5.7dp"
                    android:text="@string/tv_order_item_time"
                    android:textColor="@color/cl_receiving_order_item_data"
罗翻's avatar
将mvp替换成mvvm
d478f62a
 
罗翻 committed 7 years ago
51
                    android:textSize="@dimen/sp_13.3" />
yu's avatar
init
e37b6764
 
yu committed 7 years ago
52

罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
53 54 55 56 57 58 59 60
                <TextView
                    android:id="@+id/item_time"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="right"
                    android:text="@string/tv_order_item_date"
                    android:textColor="@color/cl_receiving_order_item_data"
                    android:textSize="@dimen/size_order_item_data_text"
罗翻's avatar
将mvp替换成mvvm
d478f62a
 
罗翻 committed 7 years ago
61
                    android:typeface="@{@string/tv_fonts}" />
yu's avatar
init
e37b6764
 
yu committed 7 years ago
62

罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
63
            </LinearLayout>
yu's avatar
init
e37b6764
 
yu committed 7 years ago
64

罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
65 66 67 68 69 70 71
            <ImageView
                android:id="@+id/item_line"
                android:layout_width="@dimen/size_order_item_line_width"
                android:layout_height="match_parent"
                android:layout_marginBottom="25dp"
                android:layout_marginLeft="10dp"
                android:layout_marginTop="@dimen/dp_21.3"
罗翻's avatar
将mvp替换成mvvm
d478f62a
 
罗翻 committed 7 years ago
72
                android:background="@color/cl_order_item_line_bg" />
yu's avatar
init
e37b6764
 
yu committed 7 years ago
73

罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
74 75 76
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
77
                android:layout_marginBottom="9.3dp"
罗翻's avatar
将mvp替换成mvvm
d478f62a
 
罗翻 committed 7 years ago
78
                android:orientation="vertical">
罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
79 80

                <LinearLayout
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
81
                    android:layout_width="match_parent"
罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
82
                    android:layout_height="wrap_content"
罗翻's avatar
将mvp替换成mvvm
d478f62a
 
罗翻 committed 7 years ago
83
                    android:orientation="horizontal">
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102

                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:orientation="horizontal">

                        <TextView
                            android:id="@+id/item_text_weixiu"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_marginLeft="@dimen/dp_13.3"
                            android:layout_marginTop="@dimen/dp_16.7"
                            android:ellipsize="end"
                            android:maxEms="3"
                            android:maxLines="1"
                            android:text="@string/tv_order_item_tool_text"
                            android:textColor="@color/cl_home_title_text_color"
                            android:textSize="@dimen/size_login_hint_text"
罗翻's avatar
将mvp替换成mvvm
d478f62a
 
罗翻 committed 7 years ago
103
                            android:textStyle="bold" />
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
104 105 106 107 108 109 110

                        <TextView
                            android:id="@+id/text_line"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_marginTop="@dimen/dp_16.7"
                            android:text=" - "
罗翻's avatar
将mvp替换成mvvm
d478f62a
 
罗翻 committed 7 years ago
111
                            android:textStyle="bold" />
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
112 113 114 115 116 117 118 119 120 121 122 123

                        <TextView
                            android:id="@+id/item_text_weixiu_leixing"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_marginTop="@dimen/dp_16.7"
                            android:ellipsize="end"
                            android:maxEms="7"
                            android:maxLines="1"
                            android:text="@string/tv_order_item_tool_text_leixing"
                            android:textColor="@color/cl_home_title_text_color"
                            android:textSize="@dimen/size_login_hint_text"
罗翻's avatar
将mvp替换成mvvm
d478f62a
 
罗翻 committed 7 years ago
124
                            android:textStyle="bold" />
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
125
                    </LinearLayout>
罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
126 127

                    <TextView
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
128
                        android:id="@+id/tv_error_state"
罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
129 130
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
131
                        android:layout_marginRight="10dp"
罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
132
                        android:layout_marginTop="@dimen/dp_16.7"
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
133
                        android:textColor="@color/cl_tab_read"
罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
134
                        android:textSize="@dimen/size_login_hint_text"
罗翻's avatar
将mvp替换成mvvm
8fbaeeaa
 
罗翻 committed 7 years ago
135
                        android:visibility="gone" />
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
136 137 138 139 140 141 142 143 144 145 146 147 148 149
                </LinearLayout>


                <TextView
                    android:id="@+id/tv_order_detail"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="@dimen/dp_14"
                    android:layout_marginRight="40dp"
                    android:layout_marginTop="5dp"
                    android:ellipsize="end"
                    android:maxLines="1"
                    android:textColor="@color/cl_home_title_text_color"
                    android:textSize="@dimen/size_login_hint_text"
罗翻's avatar
将mvp替换成mvvm
d478f62a
 
罗翻 committed 7 years ago
150
                    android:textStyle="bold" />
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
151 152 153 154 155

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="5dp"
罗翻's avatar
将mvp替换成mvvm
d478f62a
 
罗翻 committed 7 years ago
156
                    android:orientation="horizontal">
罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
157 158

                    <TextView
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
159
                        android:id="@+id/item_text_user_name"
罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
160 161
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
162 163 164 165 166 167
                        android:layout_marginLeft="@dimen/size_order_item_tool_ml"
                        android:ellipsize="end"
                        android:maxEms="5"
                        android:maxLines="1"
                        android:text="@string/tv_order_item_user_name"
                        android:textColor="@color/cl_home_title_text_color"
罗翻's avatar
将mvp替换成mvvm
d478f62a
 
罗翻 committed 7 years ago
168
                        android:textSize="@dimen/size_login_hint_text" />
罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
169 170

                    <TextView
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
171
                        android:id="@+id/item_text_user_phone"
罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
172 173
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
174
                        android:layout_marginLeft="@dimen/size_order_item_tooltext_ml"
罗翻's avatar
订单流程修改
83a71781
 
罗翻 committed 7 years ago
175
                        android:maxLines="1"
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
176
                        android:text="@string/tv_order_item_user_phone"
罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
177
                        android:textColor="@color/cl_home_title_text_color"
罗翻's avatar
将mvp替换成mvvm
d478f62a
 
罗翻 committed 7 years ago
178
                        android:textSize="@dimen/size_login_hint_text" />
罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
179 180


罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
181
                </LinearLayout>
罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
182 183

                <TextView
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
184
                    android:id="@+id/item_text_dizhi"
罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
185 186 187
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="@dimen/size_order_item_tool_ml"
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
188 189
                    android:layout_marginRight="40dp"
                    android:layout_marginTop="5dp"
罗翻's avatar
订单流程修改
83a71781
 
罗翻 committed 7 years ago
190
                    android:ellipsize="end"
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
191 192
                    android:maxLines="2"
                    android:text="@string/tv_order_item_gps_text"
罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
193
                    android:textColor="@color/cl_home_title_text_color"
罗翻's avatar
将mvp替换成mvvm
d478f62a
 
罗翻 committed 7 years ago
194
                    android:textSize="@dimen/size_login_hint_text" />
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
195
            </LinearLayout>
罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
196

罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
197
        </LinearLayout>
罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
198

罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
199 200 201 202
        <ImageView
            android:id="@+id/item_bottom_line"
            android:layout_width="match_parent"
            android:layout_height="@dimen/size_order_item_line_width"
罗翻's avatar
将mvp替换成mvvm
d478f62a
 
罗翻 committed 7 years ago
203
            android:background="@color/cl_order_item_line_bg" />
罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
204

罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
205 206 207 208 209 210
        <LinearLayout
            android:id="@+id/ll_bottom"
            android:layout_width="match_parent"
            android:layout_height="40dp"
            android:layout_alignParentBottom="true"
            android:orientation="horizontal">
罗翻's avatar
订单流程修改
83a71781
 
罗翻 committed 7 years ago
211

罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
212
            <TextView
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
213 214 215 216 217 218 219 220
                android:id="@+id/item_text_phone"
                android:layout_width="0dp"
                android:layout_height="match_parent"
                android:layout_alignParentBottom="true"
                android:layout_weight="1"
                android:gravity="center"
                android:text="@string/tv_home_tab_one_phone"
                android:textColor="@color/cl_receiving_order_item_data"
罗翻's avatar
将mvp替换成mvvm
d478f62a
 
罗翻 committed 7 years ago
221
                android:textSize="@dimen/sp_15" />
yu's avatar
init
e37b6764
 
yu committed 7 years ago
222

罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
223 224 225 226 227 228
            <ImageView
                android:id="@+id/order_line_one"
                android:layout_width="@dimen/dp_0.7"
                android:layout_height="match_parent"
                android:layout_marginBottom="11.7dp"
                android:layout_marginTop="11.7dp"
罗翻's avatar
将mvp替换成mvvm
d478f62a
 
罗翻 committed 7 years ago
229
                android:background="@color/cl_receiving_order_item_data" />
yu's avatar
init
e37b6764
 
yu committed 7 years ago
230 231


罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
232 233 234 235 236 237 238 239
            <TextView
                android:id="@+id/item_updata_time"
                android:layout_width="0dp"
                android:layout_height="match_parent"
                android:layout_weight="1"
                android:gravity="center"
                android:text="@string/tv_home_tab_updata_subscribe_time"
                android:textColor="@color/cl_receiving_order_item_data"
罗翻's avatar
将mvp替换成mvvm
d478f62a
 
罗翻 committed 7 years ago
240
                android:textSize="@dimen/sp_15" />
yu's avatar
init
e37b6764
 
yu committed 7 years ago
241 242


罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
243 244 245 246 247 248
            <ImageView
                android:id="@+id/order_line_two"
                android:layout_width="@dimen/dp_0.7"
                android:layout_height="match_parent"
                android:layout_marginBottom="11.7dp"
                android:layout_marginTop="11.7dp"
罗翻's avatar
将mvp替换成mvvm
d478f62a
 
罗翻 committed 7 years ago
249
                android:background="@color/cl_receiving_order_item_data" />
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
250

罗翻's avatar
订单流程修改
0f0b21cb
 
罗翻 committed 7 years ago
251

罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
252 253 254 255 256 257 258 259
            <TextView
                android:id="@+id/tv_item_process"
                android:layout_width="0dp"
                android:layout_height="match_parent"
                android:layout_weight="1"
                android:gravity="center"
                android:text="@string/tv_home_tab_start"
                android:textColor="@color/cl_receiving_order_item_data"
罗翻's avatar
将mvp替换成mvvm
d478f62a
 
罗翻 committed 7 years ago
260
                android:textSize="@dimen/sp_15" />
罗翻's avatar
去除所有basequikAdapter,用coreadapter...
8292e843
 
罗翻 committed 7 years ago
261 262 263 264
        </LinearLayout>

    </LinearLayout>
</layout>