<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@mipmap/bg1"
android:gravity="right">
<LinearLayout
android:id="@+id/id_target_ll_first_line"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight="1"
android:orientation="horizontal"
android:layout_alignParentRight="true"
android:layout_marginTop="10dp">
<RelativeLayout
android:layout_width="110dp"
android:layout_height="110dp"
android:padding="10dp">
<RelativeLayout
android:id="@+id/id_target_item_container_speed"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_centerInParent="true"
android:background="@drawable/target_item_one_selected">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="速度"
android:layout_centerHorizontal="true"
android:textColor="@color/white"
android:layout_marginTop="10dp"/>
<TextView
android:id="@+id/id_target_item_tv_speed"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="6"
android:textSize="30sp"
android:textColor="@color/white"
android:layout_centerHorizontal="true"
android:layout_alignParentBottom="true"
android:layout_marginBottom="10dp"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/id_target_item_rl_speed_option"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:background="@drawable/target_item_one_selected">
</RelativeLayout>
</RelativeLayout>
<RelativeLayout
android:layout_width="110dp"
android:layout_height="110dp"
android:padding="10dp">
<RelativeLayout
android:id="@+id/id_target_item_container_distance"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_centerInParent="true"
android:background="@drawable/target_item_none_selected_framework">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="距离"
android:layout_marginLeft="10dp"
android:textColor="@color/white"
android:layout_marginTop="10dp"/>
<TextView
android:id="@+id/id_target_item_tv_distance"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="0.7"
android:textSize="30sp"
android:textColor="@color/white"
android:layout_marginLeft="10dp"
android:layout_alignParentBottom="true"
android:layout_marginBottom="10dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="km"
android:textColor="@color/white"
android:layout_alignParentBottom="true"
android:layout_marginBottom="15dp"
android:layout_marginLeft="2dp"
android:layout_toRightOf="@id/id_target_item_tv_distance" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/id_target_item_rl_distance_option"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:background="@drawable/target_item_add">
</RelativeLayout>
</RelativeLayout>
<RelativeLayout
android:layout_width="110dp"
android:layout_height="110dp"
android:padding="10dp"
android:layout_alignParentRight="true">
<RelativeLayout
android:id="@+id/id_target_item_container_power"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_centerInParent="true"
android:background="@drawable/target_item_none_selected_framework">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="功率"
android:layout_marginLeft="10dp"
android:textColor="@color/white"
android:layout_marginTop="10dp"/>
<TextView
android:id="@+id/id_target_item_tv_power"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="74"
android:textSize="30sp"
android:textColor="@color/white"
android:layout_marginLeft="10dp"
android:layout_alignParentBottom="true"
android:layout_marginBottom="10dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="w"
android:textColor="@color/white"
android:layout_alignParentBottom="true"
android:layout_marginBottom="15dp"
android:layout_marginLeft="2dp"
android:layout_toRightOf="@id/id_target_item_tv_power" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/id_target_item_rl_power_option"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:background="@drawable/target_item_add">
</RelativeLayout>
</RelativeLayout>
</LinearLayout>
<!-- The Second line-->
<LinearLayout
android:id="@+id/id_target_ll_second_line"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight="1"
android:orientation="horizontal"
android:layout_alignParentRight="true"
android:layout_below="@id/id_target_ll_first_line">
<RelativeLayout
android:layout_width="110dp"
android:layout_height="110dp"
android:padding="10dp"
android:layout_alignParentRight="true">
<RelativeLayout
android:id="@+id/id_target_item_container_slope_degree"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_centerInParent="true"
android:background="@drawable/target_item_none_selected_framework">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="坡度"
android:layout_centerHorizontal="true"
android:textColor="@color/white"
android:layout_marginTop="10dp"/>
<!-- slope degree 坡度-->
<TextView
android:id="@+id/id_target_item_tv_slope_degree"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="5"
android:textSize="30sp"
android:textColor="@color/white"
android:layout_centerHorizontal="true"
android:layout_alignParentBottom="true"
android:layout_marginBottom="10dp"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/id_target_item_rl_slope_degree_option"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:background="@drawable/target_item_add">
</RelativeLayout>
</RelativeLayout>
<RelativeLayout
android:layout_width="110dp"
android:layout_height="110dp"
android:padding="10dp">
<RelativeLayout
android:id="@+id/id_target_item_container_patch_speed"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_centerInParent="true"
android:background="@drawable/target_item_none_selected_framework">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="配速"
android:layout_marginLeft="10dp"
android:textColor="@color/white"
android:layout_marginTop="10dp"/>
<TextView
android:id="@+id/id_target_item_tv_patch_speed"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="00:30"
android:textSize="25sp"
android:textColor="@color/white"
android:layout_marginLeft="10dp"
android:layout_alignParentBottom="true"
android:layout_marginBottom="15dp"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/id_target_item_rl_patch_speed_option"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:background="@drawable/target_item_add">
</RelativeLayout>
</RelativeLayout>
<RelativeLayout
android:layout_width="110dp"
android:layout_height="110dp"
android:padding="10dp"
android:layout_alignParentRight="true">
<RelativeLayout
android:id="@+id/id_target_item_container_calorie"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_centerInParent="true"
android:background="@drawable/target_item_none_selected_framework">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="卡路里"
android:layout_marginLeft="10dp"
android:textColor="@color/white"
android:layout_marginTop="10dp"/>
<TextView
android:id="@+id/id_target_item_tv_calorie"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="119"
android:textSize="25sp"
android:textColor="@color/white"
android:layout_marginLeft="10dp"
android:layout_alignParentBottom="true"
android:layout_marginBottom="15dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="kcal"
android:textColor="@color/white"
android:layout_alignParentBottom="true"
android:layout_marginBottom="20dp"
android:layout_marginLeft="2dp"
android:layout_toRightOf="@id/id_target_item_tv_calorie" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/id_target_item_rl_calorie_option"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:background="@drawable/target_item_add">
</RelativeLayout>
</RelativeLayout>
</LinearLayout>
<!-- The Third line -->
<LinearLayout
android:id="@+id/id_target_ll_third_line"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight="1"
android:orientation="horizontal"
android:layout_alignParentRight="true"
android:layout_below="@id/id_target_ll_second_line">
<RelativeLayout
android:layout_width="110dp"
android:layout_height="110dp"
android:padding="10dp"
android:layout_alignParentRight="true">
<RelativeLayout
android:id="@+id/id_target_item_container_time"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_centerInParent="true"
android:background="@drawable/target_item_none_selected_framework">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="时间"
android:layout_marginLeft="10dp"
android:textColor="@color/white"
android:layout_marginTop="10dp"/>
<TextView
android:id="@+id/id_target_item_tv_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="02:30"
android:textSize="25sp"
android:textColor="@color/white"
android:layout_marginLeft="10dp"
android:layout_alignParentBottom="true"
android:layout_marginBottom="15dp"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/id_target_item_rl_time_option"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:background="@drawable/target_item_add">
</RelativeLayout>
</RelativeLayout>
<RelativeLayout
android:layout_width="110dp"
android:layout_height="110dp"
android:padding="10dp">
<RelativeLayout
android:id="@+id/id_target_item_container_bmp"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_centerInParent="true"
android:background="@drawable/target_item_none_selected_framework">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="心率"
android:layout_marginLeft="10dp"
android:textColor="@color/white"
android:layout_marginTop="10dp"/>
<TextView
android:id="@+id/id_target_item_tv_bmp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="68"
android:textSize="30sp"
android:textColor="@color/white"
android:layout_marginLeft="10dp"
android:layout_alignParentBottom="true"
android:layout_marginBottom="10dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="bmp"
android:textColor="@color/white"
android:layout_alignParentBottom="true"
android:layout_marginBottom="15dp"
android:layout_marginLeft="2dp"
android:layout_toRightOf="@id/id_target_item_tv_bmp" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/id_target_item_rl_bmp_option"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:background="@drawable/target_item_add">
</RelativeLayout>
</RelativeLayout>
<RelativeLayout
android:layout_width="110dp"
android:layout_height="110dp"
android:padding="10dp"
android:layout_alignParentRight="true">
</RelativeLayout>
</LinearLayout>
</LinearLayout>