125 lines
No EOL
5 KiB
XML
125 lines
No EOL
5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:osmand="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<android.support.design.widget.AppBarLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dashboard_map_toolbar">
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
android:id="@+id/split_interval_toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:theme="?attr/actionBarStyle"
|
|
app:contentInsetLeft="54dp"
|
|
app:contentInsetStart="54dp">
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
tools:text="2017-02-16" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/progress_bar"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:indeterminate="true"
|
|
android:visibility="gone"
|
|
tools:visibility="visible" />
|
|
|
|
</android.support.v7.widget.Toolbar>
|
|
|
|
</android.support.design.widget.AppBarLayout>
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<ListView
|
|
android:id="@+id/list"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="0dp"
|
|
android:layout_marginRight="0dp"
|
|
android:layout_marginTop="0dp" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/header_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
android:background="?attr/bg_color"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/header_split_image"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginBottom="12dp"
|
|
android:layout_marginRight="16dp"
|
|
android:layout_marginTop="12dp"
|
|
tools:src="@drawable/ic_action_split_interval" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/split_interval_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/selectableItemBackground">
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:id="@+id/split_interval_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="@null"
|
|
android:text="Split interval:"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
osmand:typeface="@string/font_roboto_medium" />
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:id="@+id/split_interval_text"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_weight="1"
|
|
android:background="@null"
|
|
android:gravity="right"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
osmand:typeface="@string/font_roboto_medium"
|
|
tools:text="10 km" />
|
|
|
|
<ImageView
|
|
android:id="@+id/split_interval_arrow"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:src="@drawable/ic_action_arrow_drop_down" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<include layout="@layout/card_bottom_divider" />
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|
|
|
|
</LinearLayout> |