layout_finish_running_route.xml 6.93 KB
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="10dp"
        android:layout_marginTop="20dp"
        android:layout_marginRight="10dp"
        android:layout_marginBottom="10dp"
        android:background="@drawable/pedometer_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="18dp"
                android:layout_height="18dp"
                android:layout_marginLeft="10dp"
                android:background="@drawable/pedometer_icon_run_route" />

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

            <View
                android:layout_width="6dp"
                android:layout_height="6dp"
                android:layout_marginLeft="15dp"
                android:background="@drawable/pedometer_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="12dp" />

            <TextView
                android:id="@+id/tv_start_point"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="10dp"
                android:text="--"
                android:textColor="@color/black"
                android:textSize="12dp" />
        </LinearLayout>
        <!--竖线-->
        <View
            android:layout_width="1dp"
            android:layout_height="18dp"
            android:layout_marginLeft="17dp"
            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="6dp"
                android:layout_height="6dp"
                android:layout_marginLeft="15dp"
                android:background="@drawable/pedometer_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="12dp" />

            <TextView
                android:id="@+id/tv_end_point"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="10dp"
                android:text="--"
                android:textColor="@color/black"
                android:textSize="12dp" />
        </LinearLayout>
        <!--竖线-->
        <View
            android:layout_width="1dp"
            android:layout_height="25dp"
            android:layout_marginLeft="17dp"
            android:layout_marginTop="-3dp"
            android:background="@color/vertical_line" />
        <!--时间-->
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="-15dp"
            android:gravity="center_vertical">

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

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

                <TextView
                    android:id="@+id/tv_timer"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="10dp"
                    android:layout_marginTop="5dp"
                    android:text="--"
                    android:textColor="@color/text_black"
                    android:textSize="18dp"
                    android:textStyle="bold" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="11dp"
                    android:text="跑步记录时长"
                    android:textColor="@color/text_gray"
                    android:textSize="11dp" />
                <!---->
            </LinearLayout>
        </LinearLayout>
        <!--竖线-->
        <View
            android:layout_width="1dp"
            android:layout_height="25dp"
            android:layout_marginLeft="17dp"
            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"
            android:paddingTop="5dp">

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

            <TextView
                android:id="@+id/tv_finish_state"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="10dp"
                android:text="--"
                android:textStyle="bold"
                android:textColor="@color/text_gray"
                android:textSize="11dp" />
        </LinearLayout>
        <!---->
    </LinearLayout>
</layout>