lmw
2023-06-02 26c4d02ceffc158452fdf7b1894813a178259de1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<?xml version="1.0" encoding="utf-8"?>
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:id="@+id/drawer_main"
    android:layout_height="match_parent">
    <androidx.constraintlayout.widget.ConstraintLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">
        <RelativeLayout
            android:id="@+id/rl_header_title"
            android:layout_width="match_parent"
            android:layout_height="30dp"
            app:layout_constraintTop_toTopOf="parent"
            android:background="@drawable/bg_gradient"/>
        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="50dp"
            app:layout_constraintTop_toBottomOf="@+id/rl_header_title"
            android:background="@drawable/bg_gradient">
 
            <TextView
                android:id="@+id/iv_mine"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:layout_centerVertical="true"
                android:background="@drawable/bg_clicker"
                android:drawableStart="@mipmap/icon_nav_user"
                android:gravity="center"
                android:paddingStart="@dimen/dp_10"
                android:paddingEnd="@dimen/dp_15"
                android:textColor="#333333"
                android:textSize="16sp" />
 
            <TextView
                android:id="@+id/tv_title"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerInParent="true"
                android:drawablePadding="3dp"
                android:maxWidth="280dp"
                android:maxLines="1"
                android:text="芳华代驾司机"
                android:singleLine="true"
                android:textColor="@color/white"
                android:textSize="18sp"
                android:textStyle="bold" />
 
 
            <ImageView
                android:id="@+id/iv_right"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:layout_alignParentEnd="true"
                android:layout_centerVertical="true"
                android:src="@mipmap/ic_nav_news"
                android:layout_marginEnd="@dimen/dp_10"
                android:padding="@dimen/dp_5" />
 
 
            <View
                android:id="@+id/view_bottom_title"
                android:layout_width="match_parent"
                android:layout_height="0.5dp"
                android:alpha="0.2"
                android:layout_alignParentBottom="true"
                android:background="@color/bg_line" />
 
 
        </RelativeLayout>
 
        <com.amap.api.maps.MapView
            android:id="@+id/map_view"
            android:layout_width="match_parent"
            android:layout_marginTop="80dp"
            android:layout_height="match_parent"/>
 
        <ImageView
            android:id="@+id/iv_add"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@mipmap/icon_add"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintTop_toTopOf="@id/map_view"
            android:layout_marginTop="10dp"
            android:layout_marginEnd="6dp"/>
 
        <ImageView
            android:id="@+id/iv_order_home"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@mipmap/order_home"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="@id/map_view"
            android:layout_marginTop="8dp"
            android:layout_marginStart="6dp"/>
 
        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:id="@+id/tv_online_duration"
            app:layout_constraintTop_toTopOf="@id/map_view"
            android:layout_marginTop="10dp"
            android:layout_marginHorizontal="65dp"
            android:paddingVertical="7dp"
            android:textColor="@color/red_main"
            android:text="今日在线:00:00:00"
            android:gravity="center"
            android:textSize="14sp"
            android:textStyle="bold"
            android:background="@drawable/bg_red_half_8"/>
 
        <com.wang.avi.AVLoadingIndicatorView
            android:id="@+id/avv_anim"
            style="@style/AVLoadingIndicatorView"
            android:layout_width="180dp"
            android:layout_height="180dp"
            app:indicatorColor="#2F72EC"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:indicatorName="BallScaleMultipleIndicator" />
 
        <TextView
            android:id="@+id/tv_car"
            android:layout_width="90dp"
            android:layout_height="90dp"
            android:gravity="center"
            android:text="开始听单"
            android:textColor="#ffffffff"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            android:layout_marginBottom="45dp"
            app:layout_constraintBottom_toBottomOf="parent"
            android:background="@drawable/bg_blue_50dp"
            android:textSize="19sp"
            android:textStyle="bold" />
 
        <ImageView
            android:id="@+id/iv_position"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintBottom_toBottomOf="parent"
            android:layout_marginEnd="6dp"
            android:layout_marginBottom="160dp"
            android:src="@mipmap/pos"/>
 
        <TextView
            android:id="@+id/tv_order"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="有1个进行中的订单"
            android:paddingVertical="8dp"
            android:drawablePadding="12dp"
            android:paddingHorizontal="15dp"
            android:elevation="2dp"
            android:textColor="@color/textColor"
            android:textStyle="bold"
            android:background="@drawable/bg_white_20_line"
            android:drawableEnd="@mipmap/more_black"
            app:layout_constraintBottom_toBottomOf="@id/iv_position"
            android:layout_marginBottom="20dp"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintEnd_toEndOf="parent"/>
    </androidx.constraintlayout.widget.ConstraintLayout>
    <include
        layout="@layout/drawer_mine"
        android:layout_width="300dp"
        android:layout_height="match_parent"
        android:layout_gravity="start"
        android:background="@color/white" />
</androidx.drawerlayout.widget.DrawerLayout>