layout_finish_running_route.xml 5.83 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_margin="10dp"
    android:background="@drawable/shape_10dp_white_raduis_bg"
    android:orientation="vertical">
    <!--跑步路线-->
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="10dp"
        android:gravity="bottom">

        <ImageView
            android:layout_width="30dp"
            android:layout_height="30dp"
            android:layout_marginLeft="10dp"
            android:background="@drawable/icon_run_route" />

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginBottom="1dp"
            android:text="跑步路线"
            android:textColor="@color/black"
            android:textSize="12sp" />
    </LinearLayout>
    <!--起点-->
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="10dp"
        android:gravity="center_vertical">

        <View
            android:layout_width="10dp"
            android:layout_height="10dp"
            android:layout_marginLeft="15dp"
            android:background="@drawable/shape_circle_green" />

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="10dp"
            android:text="@string/layout_street_start_point"
            android:textColor="@color/text_gray"
            android:textSize="14sp" />

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="10dp"
            android:text="首都师范大学操场东门"
            android:textColor="@color/black"
            android:textSize="15sp" />
    </LinearLayout>
    <!--竖线-->
    <View
        android:layout_width="1dp"
        android:layout_height="30dp"
        android:layout_marginLeft="19dp"
        android:layout_marginTop="-3dp"
        android:background="@color/vertical_line" />
    <!--终点-->
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="-3dp"
        android:gravity="center_vertical">

        <View
            android:layout_width="10dp"
            android:layout_height="10dp"
            android:layout_marginLeft="15dp"
            android:background="@drawable/shape_circle_red" />

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="10dp"
            android:text="@string/layout_street_end_point"
            android:textColor="@color/text_gray"
            android:textSize="14sp" />

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="10dp"
            android:text="首都师范大学操场东门"
            android:textColor="@color/black"
            android:textSize="15sp" />
    </LinearLayout>
    <!--竖线-->
    <View
        android:layout_width="1dp"
        android:layout_height="30dp"
        android:layout_marginLeft="19dp"
        android:layout_marginTop="-3dp"
        android:background="@color/vertical_line" />
    <!--时间-->
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="-17dp"
        android:gravity="center_vertical">

        <View
            android:layout_width="7dp"
            android:layout_height="7dp"
            android:layout_marginLeft="16dp"
            android:background="@drawable/shape_circle_gray" />

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical">

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="10dp"
                android:text="00:27:23"
                android:textColor="@color/black"
                android:textSize="18sp"
                android:textStyle="bold" />

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="10dp"
                android:text="跑步记录时长"
                android:textColor="@color/text_gray"
                android:textSize="12sp" />
            <!---->
        </LinearLayout>
    </LinearLayout>
    <!--竖线-->
    <View
        android:layout_width="1dp"
        android:layout_height="30dp"
        android:layout_marginLeft="19dp"
        android:layout_marginTop="-15dp"
        android:background="@color/vertical_line" />
    <!---->
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="-5dp"
        android:layout_marginBottom="10dp"
        android:gravity="center_vertical">

        <View
            android:layout_width="7dp"
            android:layout_height="7dp"
            android:layout_marginLeft="16dp"
            android:background="@drawable/shape_circle_gray" />

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="10dp"
            android:text="路线完成"
            android:textColor="@color/black"
            android:textSize="15sp"
            android:textStyle="bold" />
    </LinearLayout>
    <!---->
</LinearLayout>