Przeglądaj źródła

路径规划开发完成

huyuguo 5 lat temu
rodzic
commit
93954bc746

+ 81 - 14
app/src/main/java/com/electric/chargingpile/activity/RoutePlanMapActivity.java

@ -97,6 +97,7 @@ import com.electric.chargingpile.data.RoutePointInfo;
97 97
import com.electric.chargingpile.data.Zhan;
98 98
import com.electric.chargingpile.data.ZhanData;
99 99
import com.electric.chargingpile.data.zhan_list;
100
import com.electric.chargingpile.fragment.RoutePlanMapScreenDialogFragment;
100 101
import com.electric.chargingpile.gen.DaoMaster;
101 102
import com.electric.chargingpile.gen.DaoSession;
102 103
import com.electric.chargingpile.gen.zhan_listDao;
@ -149,13 +150,12 @@ import okhttp3.Call;
149 150
 * 类说明:
150 151
 */
151 152
152
public class RoutePlanMapActivity extends Activity implements LocationSource, AMapLocationListener, AMap.OnMapLoadedListener, AMap.OnCameraChangeListener, View.OnClickListener, AMap.OnMarkerClickListener, AMap.OnMapClickListener, GeocodeSearch.OnGeocodeSearchListener, AMapNaviListener, CompoundButton.OnCheckedChangeListener, AMap.InfoWindowAdapter {
153
public class RoutePlanMapActivity extends Activity implements LocationSource, AMapLocationListener, AMap.OnMapLoadedListener, AMap.OnCameraChangeListener, View.OnClickListener, AMap.OnMarkerClickListener, AMap.OnMapClickListener, GeocodeSearch.OnGeocodeSearchListener, AMapNaviListener, AMap.InfoWindowAdapter {
153 154
    private static final String TAG = "RoutePlanMapActivity";
154 155
    NaviLatLng endLatlng;
155 156
    NaviLatLng startLatlng;
156 157
    NaviLatLng zhongLatlng;
157 158
    NaviLatLng zhongLatlng1;
158
    private Switch switch_highway;
159 159
    List<NaviLatLng> startList = new ArrayList<NaviLatLng>();
160 160
    List<NaviLatLng> endList = new ArrayList<NaviLatLng>();
161 161
    List<NaviLatLng> zhongList = new ArrayList<NaviLatLng>();
@ -223,6 +223,7 @@ public class RoutePlanMapActivity extends Activity implements LocationSource, AM
223 223
    public static final int REQUSET = 11;
224 224
    private RoueteInfoAdapter roueteInfoAdapter;
225 225
    private float mLastTimeY;
226
    private TextView shaixuan_label;
226 227
227 228
    public void setEndLatlng(NaviLatLng endLatlng) {
228 229
        this.endLatlng = endLatlng;
@ -247,7 +248,6 @@ public class RoutePlanMapActivity extends Activity implements LocationSource, AM
247 248
    private android.view.animation.Animation animation;
248 249
    private String save_start_name = "", save_end_name = "";
249 250
    private String save_id = "";
250
    private boolean isHighWay = false;
251 251
    private TextView tvOpen, tvRouteTips;
252 252
    private RelativeLayout llOpenView;
253 253
    List<RoutePointInfo> routePointInfoList = new ArrayList<>();
@ -268,7 +268,8 @@ public class RoutePlanMapActivity extends Activity implements LocationSource, AM
268 268
    private boolean canRefreshMarker = true;
269 269
    private Marker currentMarker;
270 270
    private List<Marker> currentMarkersList = new ArrayList<>();
271
271
    private Boolean[] screenList = new Boolean[4];
272
    private Boolean screenListChanged = false;
272 273
273 274
    @Override
274 275
    protected void onCreate(Bundle savedInstanceState) {
@ -290,6 +291,9 @@ public class RoutePlanMapActivity extends Activity implements LocationSource, AM
290 291
        initViews();
291 292
        initMap();
292 293
294
        for (int i = 0; i < screenList.length; i++) {
295
            screenList[i] = false;
296
        }
293 297
    }
294 298
295 299
    private void initViews() {
@ -305,6 +309,8 @@ public class RoutePlanMapActivity extends Activity implements LocationSource, AM
305 309
        ivListStatus = findViewById(R.id.iv_list_status);
306 310
        lvRouteInfo = findViewById(R.id.lv_route_info);
307 311
        llOpenView = findViewById(R.id.ll_openView);
312
        findViewById(R.id.shaixuan_btn).setOnClickListener(this);
313
        shaixuan_label = findViewById(R.id.shaixuan_label);
308 314
309 315
        activity_route_plan.getViewTreeObserver().addOnPreDrawListener(new ViewTreeObserver.OnPreDrawListener() {
310 316
            @Override
@ -350,9 +356,6 @@ public class RoutePlanMapActivity extends Activity implements LocationSource, AM
350 356
            }
351 357
        });
352 358
353
        switch_highway = findViewById(R.id.switch_highway);
354
        switch_highway.setOnCheckedChangeListener(this);
355
356 359
        tv_zhan_num = (TextView) findViewById(R.id.tv_zhan_num);
357 360
//        tv_screenShot = (TextView) findViewById(R.id.tv_screenShot);
358 361
//        tv_screenShot.setOnClickListener(this);
@ -1258,8 +1261,26 @@ public class RoutePlanMapActivity extends Activity implements LocationSource, AM
1258 1261
        DaoSession daoSession = daoMaster.newSession();
1259 1262
        zhan_listDao zhan_listDao = daoSession.getZhan_listDao();
1260 1263
        try {
1261
            if (isHighWay == true) {
1262
                zhanDataList = zhan_listDao.queryRaw("where status = ? and suit_car != '特斯拉' and zhuang_num = '2'", new String[]{"4"});
1264
            // own_pay 1:可支付(红包站点) 2:不可支付
1265
            // stop_cost like '%免费%'
1266
            // fast_num > '0'
1267
            // zhuang_num 1:酒店 2:高速 4:景点
1268
            if (screenListChanged) {
1269
                String where = "where status = ? and suit_car != '特斯拉'";
1270
                if (screenList[0]) {
1271
                    where += " and own_pay = 1";
1272
                }
1273
                if (screenList[1]) {
1274
                    where += " and stop_cost like '%免费%'";
1275
                }
1276
                if (screenList[2]) {
1277
                    where += " and fast_num > '0'";
1278
                }
1279
                if (screenList[3]) {
1280
                    where += " and zhuang_num = '2'";
1281
1282
                }
1283
                zhanDataList = zhan_listDao.queryRaw(where, new String[]{"4"});
1263 1284
            } else {
1264 1285
                zhanDataList = zhan_listDao.queryRaw("where status = ? and suit_car != '特斯拉'", new String[]{"4"});
1265 1286
            }
@ -1955,6 +1976,56 @@ public class RoutePlanMapActivity extends Activity implements LocationSource, AM
1955 1976
    @Override
1956 1977
    public void onClick(View v) {
1957 1978
        switch (v.getId()) {
1979
            case R.id.shaixuan_btn: // 筛选
1980
                RoutePlanMapScreenDialogFragment routePlanMapScreenDialogFragment = RoutePlanMapScreenDialogFragment.newInstance(screenList);
1981
                routePlanMapScreenDialogFragment.show(getFragmentManager(), "筛选");
1982
                routePlanMapScreenDialogFragment.setOnDismissDialogFragmentListener(new RoutePlanMapScreenDialogFragment.OnRoutePlanMapScreenDialogFragmentListener() {
1983
                    @Override
1984
                    public void onDismiss(Boolean[] changedScreenList) {
1985
                        Boolean changed = false;
1986
                        int selectedCount = 0;
1987
                        for (int i = 0; i < changedScreenList.length; i++) {
1988
                            if (changedScreenList[i] != screenList[i]) {
1989
                                changed = true;
1990
                            }
1991
                            screenList[i] = changedScreenList[i];
1992
                            if (changedScreenList[i]) {
1993
                                selectedCount++;
1994
                            }
1995
                        }
1996
1997
                        screenListChanged = changed;
1998
1999
                        if (changed) {
2000
                            if (selectedCount == 0) {
2001
                                shaixuan_label.setText("全部显示");
2002
                            } else {
2003
                                for (int i = 0; i < changedScreenList.length; i++) {
2004
                                    if (changedScreenList[i]) {
2005
                                        String t = "";
2006
                                        if (i==0){
2007
                                            t = "红包站点";
2008
                                        } else if (i == 1) {
2009
                                            t = "免费停车";
2010
                                        } else if (i == 2) {
2011
                                            t = "快充站点";
2012
                                        } else {
2013
                                            t = "高速站点";
2014
                                        }
2015
                                        if (selectedCount == 1) {
2016
                                            shaixuan_label.setText(t);
2017
                                        } else {
2018
                                            shaixuan_label.setText(t + "...");
2019
                                        }
2020
                                        break;
2021
                                    }
2022
                                }
2023
                            }
2024
                            screenChanged();
2025
                        }
2026
                    }
2027
                });
2028
                break;
1958 2029
            case R.id.rl_route_tip:
1959 2030
                ivListStatus.setImageResource(R.drawable.icon_route_list_open);
1960 2031
                tvOpen.setText("显示地图");
@ -3420,12 +3491,8 @@ public class RoutePlanMapActivity extends Activity implements LocationSource, AM
3420 3491
    }
3421 3492
3422 3493
3423
    @Override
3424
    public void onCheckedChanged(CompoundButton compoundButton, boolean b) {
3425
3494
    public void screenChanged() {
3426 3495
        MobclickAgent.onEvent(getApplicationContext(), "0310");
3427
3428
        isHighWay = b;
3429 3496
        list_zhan.clear();
3430 3497
        zhanDataList.clear();
3431 3498
        routeOne.clear();

+ 162 - 0
app/src/main/java/com/electric/chargingpile/fragment/RoutePlanMapScreenDialogFragment.java

@ -0,0 +1,162 @@
1
package com.electric.chargingpile.fragment;
2
3
import android.app.Dialog;
4
import android.app.DialogFragment;
5
import android.content.DialogInterface;
6
import android.os.Bundle;
7
import android.support.constraint.ConstraintLayout;
8
import android.view.Gravity;
9
import android.view.View;
10
import android.view.Window;
11
import android.view.WindowManager;
12
import android.widget.ImageView;
13
14
import com.electric.chargingpile.R;
15
import com.electric.chargingpile.util.LogUtils;
16
import com.mabeijianxi.smallvideorecord2.Log;
17
18
public class RoutePlanMapScreenDialogFragment extends DialogFragment implements View.OnClickListener {
19
20
    private Dialog mDialog;
21
    private OnRoutePlanMapScreenDialogFragmentListener dialogFragmentListener;
22
    private Boolean[] changedScreenList;
23
    private ConstraintLayout first_left;
24
    private ImageView first_left_icon;
25
    private ConstraintLayout first_center;
26
    private ImageView first_center_icon;
27
    private ConstraintLayout first_right;
28
    private ImageView first_right_icon;
29
    private ConstraintLayout second_left;
30
    private ImageView second_left_icon;
31
32
    public static RoutePlanMapScreenDialogFragment newInstance(Boolean[] screenList) {
33
        Bundle args = new Bundle();
34
        args.putSerializable("screenList", screenList);
35
        RoutePlanMapScreenDialogFragment fragment = new RoutePlanMapScreenDialogFragment();
36
        fragment.setArguments(args);
37
        return fragment;
38
    }
39
40
    @Override
41
    public Dialog onCreateDialog(Bundle savedInstanceState) {
42
43
        mDialog = new Dialog(getActivity(), R.style.CommentDialog);
44
        mDialog.setCancelable(true);
45
        mDialog.setCanceledOnTouchOutside(true);
46
47
        mDialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
48
        mDialog.setContentView(R.layout.fragment_dialog_route_plan_map_screen);
49
50
        Window window = mDialog.getWindow();
51
        WindowManager.LayoutParams layoutParams = window.getAttributes();
52
        // 布局属性位于整个窗口底部
53
        layoutParams.gravity = Gravity.BOTTOM;
54
        // 布局属性宽度填充整个窗口,默认是有margin的
55
        layoutParams.width = WindowManager.LayoutParams.MATCH_PARENT;
56
        window.setAttributes(layoutParams);
57
58
        initDialog();
59
        initListener();
60
61
        return mDialog;
62
    }
63
64
    private void initDialog() {
65
        Boolean[] screenList = (Boolean[]) getArguments().getSerializable("screenList");
66
        int length = screenList.length;
67
        changedScreenList = new Boolean[length];
68
        for (int i = 0; i < length; i++) {
69
            changedScreenList[i] = screenList[i];
70
        }
71
72
        first_left = mDialog.findViewById(R.id.first_left);
73
        first_left_icon = mDialog.findViewById(R.id.first_left_icon);
74
        first_center = mDialog.findViewById(R.id.first_center);
75
        first_center_icon = mDialog.findViewById(R.id.first_center_icon);
76
        first_right = mDialog.findViewById(R.id.first_right);
77
        first_right_icon = mDialog.findViewById(R.id.first_right_icon);
78
79
        second_left = mDialog.findViewById(R.id.second_left);
80
        second_left_icon = mDialog.findViewById(R.id.second_left_icon);
81
82
        updateScreenIcon();
83
84
    }
85
86
    private void initListener() {
87
        mDialog.findViewById(R.id.screen_close).setOnClickListener(this);
88
        first_left.setOnClickListener(this);
89
        first_center.setOnClickListener(this);
90
        first_right.setOnClickListener(this);
91
        second_left.setOnClickListener(this);
92
    }
93
94
    private void updateScreenIcon() {
95
        if (changedScreenList[0]) {
96
            first_left_icon.setImageResource(R.drawable.shaixuan_icon_red_paper_selected);
97
        } else {
98
            first_left_icon.setImageResource(R.drawable.shaixuan_icon_red_paper_normal);
99
        }
100
101
        if (changedScreenList[1]) {
102
            first_center_icon.setImageResource(R.drawable.shaixuan_icon_free_park_selected);
103
        } else {
104
            first_center_icon.setImageResource(R.drawable.shaixuan_icon_free_park_normal);
105
        }
106
107
        if (changedScreenList[2]) {
108
            first_right_icon.setImageResource(R.drawable.shaixuan_icon_quick_charge_selected);
109
        } else {
110
            first_right_icon.setImageResource(R.drawable.shaixuan_icon_quick_charge_normal);
111
        }
112
113
        if (changedScreenList[3]) {
114
            second_left_icon.setImageResource(R.drawable.shaixuan_icon_gaosu_selected);
115
        } else {
116
            second_left_icon.setImageResource(R.drawable.shaixuan_icon_gaosu_normal);
117
        }
118
119
    }
120
121
    @Override
122
    public void onDismiss(DialogInterface dialog) {
123
        super.onDismiss(dialog);
124
        if (dialogFragmentListener != null) {
125
            dialogFragmentListener.onDismiss(changedScreenList);
126
        }
127
128
    }
129
130
    @Override
131
    public void onClick(View v) {
132
        switch (v.getId()) {
133
            case R.id.screen_close:
134
                dismiss();
135
                break;
136
            case R.id.first_left:
137
                changedScreenList[0] = !changedScreenList[0];
138
                updateScreenIcon();
139
                break;
140
            case R.id.first_center:
141
                changedScreenList[1] = !changedScreenList[1];
142
                updateScreenIcon();
143
                break;
144
            case R.id.first_right:
145
                changedScreenList[2] = !changedScreenList[2];
146
                updateScreenIcon();
147
                break;
148
            case R.id.second_left:
149
                changedScreenList[3] = !changedScreenList[3];
150
                updateScreenIcon();
151
                break;
152
        }
153
    }
154
155
    public interface OnRoutePlanMapScreenDialogFragmentListener {
156
        void onDismiss(Boolean[] changedScreenList);
157
    }
158
159
    public void setOnDismissDialogFragmentListener(OnRoutePlanMapScreenDialogFragmentListener listener) {
160
        this.dialogFragmentListener = listener;
161
    }
162
}

+ 74 - 119
app/src/main/res/layout/activity_route_plan_map.xml

@ -40,19 +40,6 @@
40 40
            android:paddingLeft="15dp"
41 41
            android:paddingRight="15dp"
42 42
            android:src="@drawable/icon_shared1124" />
43
44
        <!--<TextView-->
45
        <!--android:id="@+id/tv_setting"-->
46
        <!--android:layout_width="wrap_content"-->
47
        <!--android:layout_height="match_parent"-->
48
        <!--android:text="偏好"-->
49
        <!--android:textColor="@color/lvse"-->
50
        <!--android:gravity="center"-->
51
        <!--android:textSize="15sp"-->
52
        <!--android:paddingLeft="44px"-->
53
        <!--android:paddingRight="44px"-->
54
        <!--android:layout_alignParentRight="true"/>-->
55
56 43
    </RelativeLayout>
57 44
58 45
    <View
@ -67,13 +54,11 @@
67 54
        android:layout_width="match_parent"
68 55
        android:layout_height="match_parent"
69 56
        android:layout_below="@+id/view_title"
70
        android:paddingBottom="@dimen/activity_vertical_margin"
71 57
        android:paddingLeft="@dimen/activity_horizontal_margin"
72
        android:paddingRight="@dimen/activity_horizontal_margin"
73 58
        android:paddingTop="@dimen/activity_vertical_margin"
74
        android:visibility="gone"
75
        tools:context="com.example.navigationsdk.IndexActivity">
76
59
        android:paddingRight="@dimen/activity_horizontal_margin"
60
        android:paddingBottom="@dimen/activity_vertical_margin"
61
        android:visibility="gone">
77 62
78 63
        <Button
79 64
            android:id="@+id/start"
@ -115,8 +100,8 @@
115 100
            android:id="@+id/enter_extend_activity"
116 101
            android:layout_width="wrap_content"
117 102
            android:layout_height="50dp"
118
            android:layout_alignParentLeft="true"
119 103
            android:layout_below="@+id/start"
104
            android:layout_alignParentLeft="true"
120 105
            android:onClick="goToEmulateActivity"
121 106
            android:text="进入模拟导航" />
122 107
@ -147,8 +132,8 @@
147 132
            android:layout_width="match_parent"
148 133
            android:layout_height="36dp"
149 134
            android:layout_marginLeft="10dp"
150
            android:layout_marginRight="10dp"
151 135
            android:layout_marginTop="8dp"
136
            android:layout_marginRight="10dp"
152 137
            android:background="@drawable/bg_route_tips"
153 138
            android:visibility="gone">
154 139
@ -185,10 +170,10 @@
185 170
            android:id="@+id/iv_setting"
186 171
            android:layout_width="wrap_content"
187 172
            android:layout_height="wrap_content"
188
            android:layout_alignParentRight="true"
189 173
            android:layout_below="@+id/rl_route_tip"
190
            android:layout_marginRight="10dp"
174
            android:layout_alignParentRight="true"
191 175
            android:layout_marginTop="16dp"
176
            android:layout_marginRight="10dp"
192 177
            android:src="@drawable/icon_setting_route" />
193 178
194 179
        <View
@ -223,8 +208,8 @@
223 208
                    android:layout_alignParentLeft="true"
224 209
                    android:layout_alignParentTop="true"
225 210
                    android:layout_marginLeft="24px"
226
                    android:layout_marginRight="16px"
227 211
                    android:layout_marginTop="25px"
212
                    android:layout_marginRight="16px"
228 213
                    android:layout_toLeftOf="@+id/tv_distance"
229 214
                    android:ellipsize="end"
230 215
                    android:singleLine="true"
@ -236,8 +221,8 @@
236 221
                    android:id="@+id/tv_distance"
237 222
                    android:layout_width="wrap_content"
238 223
                    android:layout_height="wrap_content"
239
                    android:layout_alignParentRight="true"
240 224
                    android:layout_alignTop="@+id/tv_route_name"
225
                    android:layout_alignParentRight="true"
241 226
                    android:gravity="right"
242 227
                    android:text="300m"
243 228
                    android:textColor="@color/ui_68"
@ -247,8 +232,8 @@
247 232
                    android:layout_width="match_parent"
248 233
                    android:layout_height="wrap_content"
249 234
                    android:layout_alignParentBottom="true"
250
                    android:layout_marginBottom="28px"
251 235
                    android:layout_marginLeft="24px"
236
                    android:layout_marginBottom="28px"
252 237
                    android:orientation="horizontal">
253 238
254 239
                    <TextView
@ -303,64 +288,36 @@
303 288
                android:layout_width="wrap_content"
304 289
                android:layout_height="152px"
305 290
                android:layout_alignParentRight="true"
306
                android:background="@drawable/icon_route_plus">
307
308
                <!--<LinearLayout-->
309
                <!--android:layout_width="wrap_content"-->
310
                <!--android:layout_height="wrap_content"-->
311
                <!--android:orientation="vertical"-->
312
                <!--android:layout_centerInParent="true"-->
313
                <!--android:gravity="center_horizontal">-->
314
315
                <!--<ImageView-->
316
                <!--android:layout_width="wrap_content"-->
317
                <!--android:layout_height="wrap_content"-->
318
                <!--android:src="@drawable/icon_routelogo"/>-->
319
320
                <!--<TextView-->
321
                <!--android:layout_width="wrap_content"-->
322
                <!--android:layout_height="wrap_content"-->
323
                <!--android:text="途经点"-->
324
                <!--android:textSize="10sp"-->
325
                <!--android:textColor="@color/white"-->
326
                <!--android:layout_marginTop="7px"/>-->
327
328
                <!--</LinearLayout>-->
329
330
            </com.zhy.autolayout.AutoRelativeLayout>
291
                android:background="@drawable/icon_route_plus" />
331 292
332 293
        </com.zhy.autolayout.AutoRelativeLayout>
333 294
334 295
        <LinearLayout
335
            android:layout_width="wrap_content"
336
            android:layout_height="32dp"
337
            android:layout_alignParentBottom="true"
296
            android:id="@+id/shaixuan_btn"
297
            android:layout_width="100dp"
298
            android:layout_height="38dp"
338 299
            android:layout_alignParentRight="true"
339
            android:layout_marginBottom="10dp"
340
            android:layout_marginRight="16dp"
300
            android:layout_alignParentBottom="true"
301
            android:layout_marginRight="10dp"
302
            android:layout_marginBottom="20dp"
341 303
            android:background="@drawable/bg_route_highway"
304
            android:gravity="center_vertical"
342 305
            android:orientation="horizontal">
343 306
344
            <TextView
307
            <ImageView
345 308
                android:layout_width="wrap_content"
346 309
                android:layout_height="wrap_content"
347
                android:layout_gravity="center_vertical"
348 310
                android:layout_marginLeft="10dp"
349
                android:text="只看高速站点"
350
                android:textColor="@color/ui_62"
351
                android:textSize="13sp" />
311
                android:src="@drawable/shaixuan_icon_cursor" />
352 312
353
            <Switch
354
                android:id="@+id/switch_highway"
313
            <TextView
314
                android:id="@+id/shaixuan_label"
355 315
                android:layout_width="wrap_content"
356 316
                android:layout_height="wrap_content"
357
                android:layout_gravity="center_vertical"
358
                android:layout_marginLeft="2dp"
359
                android:layout_marginRight="3dp"
360
                android:switchPadding="0dp"
361
                android:theme="@style/mySwitch" />
362
363
317
                android:layout_marginLeft="5dp"
318
                android:text="显示全部"
319
                android:textColor="#222222"
320
                android:textSize="13sp" />
364 321
        </LinearLayout>
365 322
366 323
    </RelativeLayout>
@ -392,8 +349,8 @@
392 349
            <com.zhy.autolayout.AutoRelativeLayout
393 350
                android:id="@+id/rl_route1"
394 351
                android:layout_width="0dp"
395
                android:layout_weight="1"
396 352
                android:layout_height="match_parent"
353
                android:layout_weight="1"
397 354
                android:background="@color/white">
398 355
399 356
                <com.zhy.autolayout.AutoLinearLayout
@ -446,8 +403,8 @@
446 403
            <com.zhy.autolayout.AutoRelativeLayout
447 404
                android:id="@+id/rl_route2"
448 405
                android:layout_width="0dp"
449
                android:layout_weight="1"
450 406
                android:layout_height="match_parent"
407
                android:layout_weight="1"
451 408
                android:background="@color/white">
452 409
453 410
                <com.zhy.autolayout.AutoLinearLayout
@ -500,8 +457,8 @@
500 457
            <com.zhy.autolayout.AutoRelativeLayout
501 458
                android:id="@+id/rl_route3"
502 459
                android:layout_width="0dp"
503
                android:layout_weight="1"
504 460
                android:layout_height="match_parent"
461
                android:layout_weight="1"
505 462
                android:background="@color/white">
506 463
507 464
                <com.zhy.autolayout.AutoLinearLayout
@ -572,9 +529,9 @@
572 529
        android:id="@+id/ll"
573 530
        android:layout_width="match_parent"
574 531
        android:layout_height="60dp"
575
        android:layout_alignParentBottom="true"
576
        android:layout_alignParentLeft="true"
577 532
        android:layout_alignParentStart="true"
533
        android:layout_alignParentLeft="true"
534
        android:layout_alignParentBottom="true"
578 535
        android:background="@color/white"
579 536
        android:visibility="visible">
580 537
@ -659,8 +616,8 @@
659 616
                android:layout_width="25dp"
660 617
                android:layout_height="wrap_content"
661 618
                android:layout_above="@+id/view_line"
662
                android:layout_alignParentRight="true"
663 619
                android:layout_alignTop="@+id/rela"
620
                android:layout_alignParentRight="true"
664 621
                android:layout_marginRight="5dp"
665 622
                android:drawablePadding="3dp"
666 623
                android:gravity="center_horizontal"
@ -720,8 +677,8 @@
720 677
                    android:layout_width="match_parent"
721 678
                    android:layout_height="wrap_content"
722 679
                    android:layout_marginLeft="15dp"
723
                    android:layout_marginRight="15dp"
724 680
                    android:layout_marginTop="12dp"
681
                    android:layout_marginRight="15dp"
725 682
                    android:layout_toLeftOf="@+id/tv_daohang"
726 683
                    android:ellipsize="end"
727 684
                    android:singleLine="true"
@ -734,20 +691,20 @@
734 691
                    android:id="@+id/ll_kuaiman"
735 692
                    android:layout_width="match_parent"
736 693
                    android:layout_height="wrap_content"
737
                    android:layout_alignParentLeft="true"
738
                    android:layout_alignParentStart="true"
739 694
                    android:layout_below="@+id/detail_name"
695
                    android:layout_alignParentStart="true"
696
                    android:layout_alignParentLeft="true"
740 697
                    android:layout_marginLeft="15dp"
741
                    android:layout_marginRight="15dp"
742 698
                    android:layout_marginTop="12dp"
699
                    android:layout_marginRight="15dp"
743 700
                    android:orientation="horizontal">
744 701
745 702
                    <TextView
746 703
                        android:id="@+id/tv_juli"
747 704
                        android:layout_width="wrap_content"
748 705
                        android:layout_height="wrap_content"
749
                        android:layout_alignParentRight="true"
750 706
                        android:layout_alignTop="@+id/tv_fastNum"
707
                        android:layout_alignParentRight="true"
751 708
                        android:text="共10个"
752 709
                        android:textAppearance="?android:attr/textAppearanceSmall"
753 710
                        android:textColor="@color/hintColor"
@ -806,19 +763,19 @@
806 763
                    android:id="@+id/relativeLayout2"
807 764
                    android:layout_width="match_parent"
808 765
                    android:layout_height="wrap_content"
809
                    android:layout_alignLeft="@+id/ll_kuaiman"
810
                    android:layout_alignStart="@+id/ll_kuaiman"
811 766
                    android:layout_below="@+id/b_fast"
812
                    android:layout_marginRight="15dp"
813
                    android:layout_marginTop="8dp">
767
                    android:layout_alignStart="@+id/ll_kuaiman"
768
                    android:layout_alignLeft="@+id/ll_kuaiman"
769
                    android:layout_marginTop="8dp"
770
                    android:layout_marginRight="15dp">
814 771
815 772
816 773
                    <ImageView
817 774
                        android:id="@+id/imageView9"
818 775
                        android:layout_width="wrap_content"
819 776
                        android:layout_height="wrap_content"
820
                        android:layout_alignParentLeft="true"
821 777
                        android:layout_alignParentStart="true"
778
                        android:layout_alignParentLeft="true"
822 779
                        android:layout_alignParentTop="true"
823 780
                        android:layout_marginTop="3dp"
824 781
                        android:src="@drawable/icon_paoqian1105" />
@ -897,9 +854,9 @@
897 854
                        android:id="@+id/textView28"
898 855
                        android:layout_width="wrap_content"
899 856
                        android:layout_height="wrap_content"
900
                        android:layout_alignLeft="@+id/textView27"
901
                        android:layout_alignStart="@+id/textView27"
902 857
                        android:layout_below="@+id/textView27"
858
                        android:layout_alignStart="@+id/textView27"
859
                        android:layout_alignLeft="@+id/textView27"
903 860
                        android:layout_marginTop="4dp"
904 861
                        android:ellipsize="end"
905 862
                        android:singleLine="true"
@ -912,8 +869,8 @@
912 869
                        android:id="@+id/tv_park"
913 870
                        android:layout_width="match_parent"
914 871
                        android:layout_height="wrap_content"
915
                        android:layout_alignLeft="@+id/tv_charge"
916 872
                        android:layout_alignStart="@+id/tv_charge"
873
                        android:layout_alignLeft="@+id/tv_charge"
917 874
                        android:layout_alignTop="@+id/textView28"
918 875
                        android:ellipsize="marquee"
919 876
                        android:marqueeRepeatLimit="marquee_forever"
@ -936,9 +893,9 @@
936 893
                    android:id="@+id/tv_address"
937 894
                    android:layout_width="wrap_content"
938 895
                    android:layout_height="wrap_content"
939
                    android:layout_alignLeft="@+id/relativeLayout2"
940
                    android:layout_alignStart="@+id/relativeLayout2"
941 896
                    android:layout_below="@+id/v32"
897
                    android:layout_alignStart="@+id/relativeLayout2"
898
                    android:layout_alignLeft="@+id/relativeLayout2"
942 899
                    android:layout_marginTop="14dp"
943 900
                    android:drawableLeft="@drawable/icon_costway0314"
944 901
                    android:drawablePadding="8dp"
@ -963,8 +920,8 @@
963 920
                    android:id="@+id/tv_daohang"
964 921
                    android:layout_width="wrap_content"
965 922
                    android:layout_height="wrap_content"
966
                    android:layout_alignParentRight="true"
967 923
                    android:layout_alignTop="@+id/detail_name"
924
                    android:layout_alignParentRight="true"
968 925
                    android:layout_marginRight="15dp"
969 926
                    android:drawableLeft="@drawable/icon_daohang0314"
970 927
                    android:drawablePadding="6dp"
@ -1008,8 +965,8 @@
1008 965
                        android:drawableLeft="@drawable/icon_go0314"
1009 966
                        android:drawablePadding="8dp"
1010 967
                        android:gravity="center"
1011
                        android:paddingBottom="5dp"
1012 968
                        android:paddingTop="5dp"
969
                        android:paddingBottom="5dp"
1013 970
                        android:text="去这里"
1014 971
                        android:textColor="@color/title_row"
1015 972
                        android:textSize="16sp"
@ -1021,8 +978,8 @@
1021 978
                    android:id="@+id/line_fenge1"
1022 979
                    android:layout_width="0.5dp"
1023 980
                    android:layout_height="match_parent"
1024
                    android:layout_marginBottom="8dp"
1025 981
                    android:layout_marginTop="8dp"
982
                    android:layout_marginBottom="8dp"
1026 983
                    android:background="#c5c9ce"
1027 984
                    android:visibility="gone" />
1028 985
@ -1040,8 +997,8 @@
1040 997
                        android:drawableLeft="@drawable/icon_details0314"
1041 998
                        android:drawablePadding="8dp"
1042 999
                        android:gravity="center"
1043
                        android:paddingBottom="5dp"
1044 1000
                        android:paddingTop="5dp"
1001
                        android:paddingBottom="5dp"
1045 1002
                        android:text="详情"
1046 1003
                        android:textColor="@color/title_row"
1047 1004
                        android:textSize="16sp" />
@ -1052,8 +1009,8 @@
1052 1009
                    android:id="@+id/line_fenge"
1053 1010
                    android:layout_width="0.5dp"
1054 1011
                    android:layout_height="match_parent"
1055
                    android:layout_marginBottom="8dp"
1056 1012
                    android:layout_marginTop="8dp"
1013
                    android:layout_marginBottom="8dp"
1057 1014
                    android:background="#dddddd" />
1058 1015
1059 1016
                <com.zhy.autolayout.AutoRelativeLayout
@ -1076,8 +1033,8 @@
1076 1033
                            android:drawableLeft="@drawable/icon_comment0314"
1077 1034
                            android:drawablePadding="8dp"
1078 1035
                            android:gravity="center"
1079
                            android:paddingBottom="5dp"
1080 1036
                            android:paddingTop="5dp"
1037
                            android:paddingBottom="5dp"
1081 1038
                            android:text="评论"
1082 1039
                            android:textColor="@color/title_row"
1083 1040
                            android:textSize="16sp" />
@ -1104,9 +1061,9 @@
1104 1061
        android:id="@+id/tv_notice"
1105 1062
        android:layout_width="match_parent"
1106 1063
        android:layout_height="38dp"
1107
        android:layout_alignParentLeft="true"
1108
        android:layout_alignParentStart="true"
1109 1064
        android:layout_below="@+id/view_title"
1065
        android:layout_alignParentStart="true"
1066
        android:layout_alignParentLeft="true"
1110 1067
        android:background="@drawable/bg_notice1105"
1111 1068
        android:orientation="horizontal"
1112 1069
        android:visibility="gone">
@ -1127,9 +1084,9 @@
1127 1084
            android:id="@+id/iv_close"
1128 1085
            android:layout_width="wrap_content"
1129 1086
            android:layout_height="match_parent"
1087
            android:layout_alignParentTop="true"
1130 1088
            android:layout_alignParentEnd="true"
1131 1089
            android:layout_alignParentRight="true"
1132
            android:layout_alignParentTop="true"
1133 1090
            android:paddingLeft="25px"
1134 1091
            android:paddingRight="25px"
1135 1092
            android:src="@drawable/icon_close1105" />
@ -1141,8 +1098,8 @@
1141 1098
        android:id="@+id/rl_yinying"
1142 1099
        android:layout_width="match_parent"
1143 1100
        android:layout_height="match_parent"
1144
        android:layout_alignParentBottom="true"
1145 1101
        android:layout_alignParentTop="true"
1102
        android:layout_alignParentBottom="true"
1146 1103
        android:background="@drawable/bg_yinying531"
1147 1104
        android:visibility="gone">
1148 1105
@ -1160,21 +1117,20 @@
1160 1117
                android:layout_height="wrap_content"
1161 1118
                android:layout_gravity="center_horizontal"
1162 1119
                android:layout_marginTop="15dp"
1163
                android:scaleType="centerCrop"
1164
                android:background="@drawable/bg_route_tujingdian" />
1165
1166
                <TextView
1167
                    android:id="@+id/tv_iknow"
1168
                    android:layout_width="match_parent"
1169
                    android:layout_height="44dp"
1170
                    android:layout_centerInParent="true"
1171
                    android:background="@color/lvse"
1172
                    android:layout_margin="15dp"
1173
                    android:gravity="center"
1174
                    android:text="我知道了"
1175
                    android:textColor="@color/white"
1176
                    android:textSize="16sp" />
1120
                android:background="@drawable/bg_route_tujingdian"
1121
                android:scaleType="centerCrop" />
1177 1122
1123
            <TextView
1124
                android:id="@+id/tv_iknow"
1125
                android:layout_width="match_parent"
1126
                android:layout_height="44dp"
1127
                android:layout_centerInParent="true"
1128
                android:layout_margin="15dp"
1129
                android:background="@color/lvse"
1130
                android:gravity="center"
1131
                android:text="我知道了"
1132
                android:textColor="@color/white"
1133
                android:textSize="16sp" />
1178 1134
1179 1135
1180 1136
        </LinearLayout>
@ -1217,16 +1173,16 @@
1217 1173
                android:layout_width="match_parent"
1218 1174
                android:layout_height="match_parent"
1219 1175
                android:layout_alignParentTop="true"
1220
                android:background="@drawable/bg_yinying_yuanjiao"/>
1176
                android:background="@drawable/bg_yinying_yuanjiao" />
1221 1177
1222 1178
            <RelativeLayout
1223 1179
                android:id="@+id/relativeLayout4"
1224 1180
                android:layout_width="match_parent"
1225 1181
                android:layout_height="116dp"
1226 1182
                android:layout_alignParentBottom="true"
1227
                android:layout_marginBottom="10dp"
1228 1183
                android:layout_marginLeft="10dp"
1229 1184
                android:layout_marginRight="10dp"
1185
                android:layout_marginBottom="10dp"
1230 1186
                android:background="@drawable/bg_share_text">
1231 1187
1232 1188
                <RelativeLayout
@ -1278,8 +1234,8 @@
1278 1234
                <RelativeLayout
1279 1235
                    android:layout_width="match_parent"
1280 1236
                    android:layout_height="match_parent"
1281
                    android:layout_alignParentBottom="true"
1282
                    android:layout_below="@+id/v_1">
1237
                    android:layout_below="@+id/v_1"
1238
                    android:layout_alignParentBottom="true">
1283 1239
1284 1240
                    <ImageView
1285 1241
                        android:id="@+id/iv_1"
@ -1386,7 +1342,6 @@
1386 1342
    </LinearLayout>
1387 1343
1388 1344
1389
1390 1345
    <RelativeLayout
1391 1346
        android:id="@+id/rl_point"
1392 1347
        android:layout_width="80dp"

+ 286 - 0
app/src/main/res/layout/fragment_dialog_route_plan_map_screen.xml

@ -0,0 +1,286 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    xmlns:app="http://schemas.android.com/apk/res-auto"
4
    xmlns:tools="http://schemas.android.com/tools"
5
    android:layout_width="match_parent"
6
    android:layout_height="match_parent">
7
8
    <android.support.constraint.ConstraintLayout
9
        android:layout_width="0dp"
10
        android:layout_height="240dp"
11
        android:background="#ffffff"
12
        app:layout_constraintBottom_toBottomOf="parent"
13
        app:layout_constraintEnd_toEndOf="parent"
14
        app:layout_constraintStart_toStartOf="parent"
15
        tools:background="#f9e498">
16
17
        <android.support.constraint.ConstraintLayout
18
            android:id="@+id/top_bar"
19
            android:layout_width="match_parent"
20
            android:layout_height="40dp"
21
            app:layout_constraintLeft_toLeftOf="parent"
22
            app:layout_constraintRight_toRightOf="parent"
23
            app:layout_constraintTop_toTopOf="parent"
24
            tools:background="#008272">
25
26
            <TextView
27
                android:layout_width="wrap_content"
28
                android:layout_height="wrap_content"
29
                android:text="站点筛选"
30
                android:textColor="#222222"
31
                android:textSize="16sp"
32
                app:layout_constraintBottom_toBottomOf="parent"
33
                app:layout_constraintLeft_toLeftOf="parent"
34
                app:layout_constraintRight_toRightOf="parent"
35
                app:layout_constraintTop_toTopOf="parent" />
36
37
            <LinearLayout
38
                android:id="@+id/screen_close"
39
                android:layout_width="45dp"
40
                android:layout_height="match_parent"
41
                android:gravity="center"
42
                app:layout_constraintBottom_toBottomOf="parent"
43
                app:layout_constraintRight_toRightOf="parent"
44
                app:layout_constraintTop_toTopOf="parent"
45
                tools:background="#668eaa">
46
47
                <ImageView
48
                    android:layout_width="wrap_content"
49
                    android:layout_height="wrap_content"
50
                    android:src="@drawable/shaixuan_icon_close" />
51
            </LinearLayout>
52
53
54
            <View
55
                android:layout_width="match_parent"
56
                android:layout_height="0.5dp"
57
                android:background="#E6E6E6"
58
                app:layout_constraintBottom_toBottomOf="parent"
59
                app:layout_constraintLeft_toLeftOf="parent"
60
                app:layout_constraintRight_toRightOf="parent" />
61
        </android.support.constraint.ConstraintLayout>
62
63
        <android.support.constraint.ConstraintLayout
64
            android:id="@+id/first_row"
65
            android:layout_width="match_parent"
66
            android:layout_height="90dp"
67
            android:layout_marginLeft="15dp"
68
            android:layout_marginRight="15dp"
69
            app:layout_constraintLeft_toLeftOf="parent"
70
            app:layout_constraintRight_toRightOf="parent"
71
            app:layout_constraintTop_toBottomOf="@+id/top_bar"
72
            tools:background="#d8582b">
73
74
            <!-- 红包站点 -->
75
            <android.support.constraint.ConstraintLayout
76
                android:id="@+id/first_left"
77
                android:layout_width="0dp"
78
                android:layout_height="90dp"
79
                app:layout_constraintBottom_toBottomOf="parent"
80
                app:layout_constraintHorizontal_weight="1"
81
                app:layout_constraintLeft_toLeftOf="parent"
82
                app:layout_constraintRight_toLeftOf="@+id/first_center"
83
                app:layout_constraintTop_toTopOf="parent">
84
85
                <ImageView
86
                    android:id="@+id/first_left_icon"
87
                    android:layout_width="wrap_content"
88
                    android:layout_height="wrap_content"
89
                    android:layout_marginTop="15dp"
90
                    android:src="@drawable/shaixuan_icon_red_paper_normal"
91
                    app:layout_constraintLeft_toLeftOf="parent"
92
                    app:layout_constraintRight_toRightOf="parent"
93
                    app:layout_constraintTop_toTopOf="parent" />
94
95
                <TextView
96
                    android:layout_width="wrap_content"
97
                    android:layout_height="wrap_content"
98
                    android:layout_marginBottom="15dp"
99
                    android:text="红包站点"
100
                    android:textColor="#222222"
101
                    android:textSize="12sp"
102
                    app:layout_constraintBottom_toBottomOf="parent"
103
                    app:layout_constraintLeft_toLeftOf="parent"
104
                    app:layout_constraintRight_toRightOf="parent" />
105
106
                <View
107
                    android:layout_width="0.5dp"
108
                    android:layout_height="match_parent"
109
                    android:layout_marginTop="20dp"
110
                    android:layout_marginBottom="20dp"
111
                    android:background="#e6e6e6"
112
                    app:layout_constraintBottom_toBottomOf="parent"
113
                    app:layout_constraintRight_toRightOf="parent"
114
                    app:layout_constraintTop_toTopOf="parent" />
115
            </android.support.constraint.ConstraintLayout>
116
117
            <!-- 免费停车 -->
118
            <android.support.constraint.ConstraintLayout
119
                android:id="@+id/first_center"
120
                android:layout_width="0dp"
121
                android:layout_height="90dp"
122
                app:layout_constraintBottom_toBottomOf="parent"
123
                app:layout_constraintHorizontal_weight="1"
124
                app:layout_constraintLeft_toRightOf="@+id/first_left"
125
                app:layout_constraintRight_toLeftOf="@+id/first_right"
126
                app:layout_constraintTop_toTopOf="parent"
127
                tools:background="#31577a">
128
129
                <ImageView
130
                    android:id="@+id/first_center_icon"
131
                    android:layout_width="wrap_content"
132
                    android:layout_height="wrap_content"
133
                    android:layout_marginTop="15dp"
134
                    android:src="@drawable/shaixuan_icon_free_park_normal"
135
                    app:layout_constraintLeft_toLeftOf="parent"
136
                    app:layout_constraintRight_toRightOf="parent"
137
                    app:layout_constraintTop_toTopOf="parent" />
138
139
                <TextView
140
                    android:layout_width="wrap_content"
141
                    android:layout_height="wrap_content"
142
                    android:layout_marginBottom="15dp"
143
                    android:text="免费停车"
144
                    android:textColor="#222222"
145
                    android:textSize="12sp"
146
                    app:layout_constraintBottom_toBottomOf="parent"
147
                    app:layout_constraintLeft_toLeftOf="parent"
148
                    app:layout_constraintRight_toRightOf="parent" />
149
150
                <View
151
                    android:layout_width="0.5dp"
152
                    android:layout_height="match_parent"
153
                    android:layout_marginTop="20dp"
154
                    android:layout_marginBottom="20dp"
155
                    android:background="#e6e6e6"
156
                    app:layout_constraintBottom_toBottomOf="parent"
157
                    app:layout_constraintRight_toRightOf="parent"
158
                    app:layout_constraintTop_toTopOf="parent" />
159
            </android.support.constraint.ConstraintLayout>
160
161
            <!-- 快充站点 -->
162
            <android.support.constraint.ConstraintLayout
163
                android:id="@+id/first_right"
164
                android:layout_width="0dp"
165
                android:layout_height="90dp"
166
                app:layout_constraintBottom_toBottomOf="parent"
167
                app:layout_constraintHorizontal_weight="1"
168
                app:layout_constraintLeft_toRightOf="@+id/first_center"
169
                app:layout_constraintRight_toRightOf="parent"
170
                app:layout_constraintTop_toTopOf="parent">
171
172
                <ImageView
173
                    android:id="@+id/first_right_icon"
174
                    android:layout_width="wrap_content"
175
                    android:layout_height="wrap_content"
176
                    android:layout_marginTop="15dp"
177
                    android:src="@drawable/shaixuan_icon_quick_charge_normal"
178
                    app:layout_constraintLeft_toLeftOf="parent"
179
                    app:layout_constraintRight_toRightOf="parent"
180
                    app:layout_constraintTop_toTopOf="parent" />
181
182
                <TextView
183
                    android:layout_width="wrap_content"
184
                    android:layout_height="wrap_content"
185
                    android:layout_marginBottom="15dp"
186
                    android:text="快充站点"
187
                    android:textColor="#222222"
188
                    android:textSize="12sp"
189
                    app:layout_constraintBottom_toBottomOf="parent"
190
                    app:layout_constraintLeft_toLeftOf="parent"
191
                    app:layout_constraintRight_toRightOf="parent" />
192
193
            </android.support.constraint.ConstraintLayout>
194
195
        </android.support.constraint.ConstraintLayout>
196
197
        <android.support.constraint.ConstraintLayout
198
            android:id="@+id/second_row"
199
            android:layout_width="match_parent"
200
            android:layout_height="90dp"
201
            android:layout_marginLeft="15dp"
202
            android:layout_marginRight="15dp"
203
            app:layout_constraintLeft_toLeftOf="parent"
204
            app:layout_constraintRight_toRightOf="parent"
205
            app:layout_constraintTop_toBottomOf="@+id/first_row"
206
            tools:background="#a8bebe">
207
208
            <View
209
                android:layout_width="match_parent"
210
                android:layout_height="0.5dp"
211
                android:background="#e6e6e6"
212
                app:layout_constraintLeft_toLeftOf="parent"
213
                app:layout_constraintRight_toRightOf="parent"
214
                app:layout_constraintTop_toTopOf="parent" />
215
            <!-- 高速站点 -->
216
            <android.support.constraint.ConstraintLayout
217
                android:id="@+id/second_left"
218
                android:layout_width="0dp"
219
                android:layout_height="90dp"
220
                app:layout_constraintBottom_toBottomOf="parent"
221
                app:layout_constraintHorizontal_weight="1"
222
                app:layout_constraintLeft_toLeftOf="parent"
223
                app:layout_constraintRight_toLeftOf="@+id/second_center"
224
                app:layout_constraintTop_toTopOf="parent">
225
226
                <ImageView
227
                    android:id="@+id/second_left_icon"
228
                    android:layout_width="wrap_content"
229
                    android:layout_height="wrap_content"
230
                    android:layout_marginTop="15dp"
231
                    android:src="@drawable/shaixuan_icon_gaosu_normal"
232
                    app:layout_constraintLeft_toLeftOf="parent"
233
                    app:layout_constraintRight_toRightOf="parent"
234
                    app:layout_constraintTop_toTopOf="parent" />
235
236
                <TextView
237
                    android:layout_width="wrap_content"
238
                    android:layout_height="wrap_content"
239
                    android:layout_marginBottom="15dp"
240
                    android:text="高速站点"
241
                    android:textColor="#222222"
242
                    android:textSize="12sp"
243
                    app:layout_constraintBottom_toBottomOf="parent"
244
                    app:layout_constraintLeft_toLeftOf="parent"
245
                    app:layout_constraintRight_toRightOf="parent" />
246
247
                <View
248
                    android:layout_width="0.5dp"
249
                    android:layout_height="match_parent"
250
                    android:layout_marginTop="20dp"
251
                    android:layout_marginBottom="20dp"
252
                    android:background="#e6e6e6"
253
                    app:layout_constraintBottom_toBottomOf="parent"
254
                    app:layout_constraintRight_toRightOf="parent"
255
                    app:layout_constraintTop_toTopOf="parent" />
256
            </android.support.constraint.ConstraintLayout>
257
258
            <android.support.constraint.ConstraintLayout
259
                android:id="@+id/second_center"
260
                android:layout_width="0dp"
261
                android:layout_height="90dp"
262
                app:layout_constraintBottom_toBottomOf="parent"
263
                app:layout_constraintHorizontal_weight="1"
264
                app:layout_constraintLeft_toRightOf="@+id/second_left"
265
                app:layout_constraintRight_toLeftOf="@+id/second_right"
266
                app:layout_constraintTop_toTopOf="parent"
267
                tools:background="#31577a">
268
269
            </android.support.constraint.ConstraintLayout>
270
271
            <android.support.constraint.ConstraintLayout
272
                android:id="@+id/second_right"
273
                android:layout_width="0dp"
274
                android:layout_height="90dp"
275
                app:layout_constraintBottom_toBottomOf="parent"
276
                app:layout_constraintHorizontal_weight="1"
277
                app:layout_constraintLeft_toRightOf="@+id/second_center"
278
                app:layout_constraintRight_toRightOf="parent"
279
                app:layout_constraintTop_toTopOf="parent">
280
281
            </android.support.constraint.ConstraintLayout>
282
283
        </android.support.constraint.ConstraintLayout>
284
285
    </android.support.constraint.ConstraintLayout>
286
</android.support.constraint.ConstraintLayout>