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
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    xmlns:app="http://schemas.android.com/apk/res-auto">
    <LinearLayout
        android:id="@+id/ll_info"
        android:layout_width="164dp"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        android:background="@drawable/bg_white_10"
        android:elevation="2dp"
        android:layout_margin="2dp"
        app:layout_constraintTop_toTopOf="parent">
        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:id="@+id/tv_info"
            android:textColor="@color/white"
            android:textStyle="bold"
            android:textSize="12sp"
            android:gravity="center"
            android:text="5分钟|预计接驾"
            android:paddingVertical="3dp"
            android:background="@drawable/bg_blue_top_10"/>
        <TextView
            android:id="@+id/tv_name"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="西单口袋公园"
            android:gravity="center"
            android:paddingVertical="5dp"
            android:textColor="@color/black"
            android:textSize="12sp"
            android:textStyle="bold"
            android:layout_marginHorizontal="4dp"/>
    </LinearLayout>
    <ImageView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/iv_img"
        app:layout_constraintTop_toBottomOf="@id/ll_info"
        app:layout_constraintStart_toStartOf="@id/ll_info"
        android:src="@mipmap/start"
        app:layout_constraintEnd_toEndOf="@id/ll_info"/>
</androidx.constraintlayout.widget.ConstraintLayout>