2017-02-12 13:37:57 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-02-24 12:56:41 +01:00
|
|
|
android:gravity="center">
|
2017-02-12 13:37:57 +01:00
|
|
|
|
2017-02-24 12:56:41 +01:00
|
|
|
<LinearLayout
|
2017-02-12 13:37:57 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-02-27 20:18:38 +01:00
|
|
|
android:orientation="horizontal"
|
2017-02-28 19:51:42 +01:00
|
|
|
android:background="?attr/chart_marker_background">
|
2017-02-24 12:56:41 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/text_alt_container"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingTop="2dp"
|
|
|
|
android:paddingBottom="2dp"
|
|
|
|
android:paddingLeft="6dp"
|
2017-02-27 20:18:38 +01:00
|
|
|
android:paddingRight="6dp">
|
2017-02-24 12:56:41 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/text_alt_value"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="100 "
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
2017-02-27 20:18:38 +01:00
|
|
|
android:textColor="@color/gpx_chart_blue"
|
2017-02-24 12:56:41 +01:00
|
|
|
android:textStyle="bold"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:singleLine="true"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/text_alt_units"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="m"
|
|
|
|
android:textSize="@dimen/default_sub_text_size"
|
2017-02-27 20:18:38 +01:00
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
2017-02-24 12:56:41 +01:00
|
|
|
android:ellipsize="end"
|
|
|
|
android:singleLine="true"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2017-02-27 20:18:38 +01:00
|
|
|
<View
|
|
|
|
android:id="@+id/divider"
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginTop="1dp"
|
|
|
|
android:layout_marginBottom="1dp"
|
|
|
|
android:background="?attr/dashboard_divider"/>
|
|
|
|
|
2017-02-24 12:56:41 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/text_spd_container"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingTop="2dp"
|
|
|
|
android:paddingBottom="2dp"
|
|
|
|
android:paddingLeft="6dp"
|
2017-02-27 20:18:38 +01:00
|
|
|
android:paddingRight="6dp">
|
2017-02-24 12:56:41 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/text_spd_value"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="100 "
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
2017-02-27 20:18:38 +01:00
|
|
|
android:textColor="@color/gpx_chart_orange"
|
2017-02-24 12:56:41 +01:00
|
|
|
android:textStyle="bold"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:singleLine="true"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/text_spd_units"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="km/h"
|
|
|
|
android:textSize="@dimen/default_sub_text_size"
|
2017-02-27 20:18:38 +01:00
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
2017-02-24 12:56:41 +01:00
|
|
|
android:ellipsize="end"
|
|
|
|
android:singleLine="true"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2017-02-27 20:18:38 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/text_slp_container"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingTop="2dp"
|
|
|
|
android:paddingBottom="2dp"
|
|
|
|
android:paddingLeft="6dp"
|
|
|
|
android:paddingRight="6dp">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/text_slp_value"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="100 "
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
android:textColor="@color/gpx_chart_green"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:singleLine="true"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/text_slp_units"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="%"
|
|
|
|
android:textSize="@dimen/default_sub_text_size"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:singleLine="true"/>
|
2017-02-24 12:56:41 +01:00
|
|
|
|
2017-02-27 20:18:38 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2017-02-12 13:37:57 +01:00
|
|
|
|
|
|
|
</RelativeLayout>
|