139 lines
No EOL
5.7 KiB
XML
139 lines
No EOL
5.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout
|
|
android:id="@+id/plan_route_info"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/color_transparent"
|
|
android:clickable="true"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/main_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:background="@drawable/bg_bottom_menu_dark"
|
|
android:clickable="true"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/y_axis"
|
|
android:layout_width="0dp"
|
|
android:layout_height="@dimen/list_item_height"
|
|
android:layout_weight="1"
|
|
android:orientation="horizontal"
|
|
android:minHeight="50dp"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:gravity="center_vertical">
|
|
|
|
<ImageView
|
|
android:id="@+id/y_axis_icon"
|
|
android:layout_width="@dimen/standard_icon_size"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/list_content_padding"
|
|
android:layout_marginRight="@dimen/list_content_padding"
|
|
android:src="@drawable/ic_action_altitude_average"/>
|
|
|
|
<TextView
|
|
android:id="@+id/y_axis_title"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:layout_marginRight="8dp"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
tools:text="@string/altitude"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/y_axis_arrow"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginRight="8dp"
|
|
android:src="@drawable/ic_action_arrow_drop_down"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/x_axis"
|
|
android:layout_width="0dp"
|
|
android:layout_height="@dimen/list_item_height"
|
|
android:layout_weight="1"
|
|
android:orientation="horizontal"
|
|
android:minHeight="50dp"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:gravity="center_vertical">
|
|
|
|
<View
|
|
android:id="@+id/divider_vertical"
|
|
android:layout_width="1dp"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/dashboard_divider"
|
|
android:focusable="false"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/x_axis_icon"
|
|
android:layout_width="@dimen/standard_icon_size"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/list_content_padding"
|
|
android:layout_marginRight="@dimen/list_content_padding"
|
|
android:src="@drawable/ic_action_marker_dark"/>
|
|
|
|
<TextView
|
|
android:id="@+id/x_axis_title"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:layout_marginRight="8dp"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
tools:text="@string/distance"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/x_axis_arrow"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginRight="8dp"
|
|
android:src="@drawable/ic_action_arrow_drop_down"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:id="@+id/divider_bottom"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="?attr/dashboard_divider"
|
|
android:focusable="false"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:background="?attr/bg_color"
|
|
android:paddingTop="8dp">
|
|
|
|
<com.github.mikephil.charting.charts.LineChart
|
|
android:id="@+id/chart"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="150dp"
|
|
android:layout_gravity="center_vertical"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout> |