OsmAnd/OsmAnd/res/layout/route_info_list_item.xml

103 lines
4.1 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2017-02-15 17:15:23 +01:00
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
2017-02-15 17:15:23 +01:00
android:orientation="vertical">
2017-02-15 17:15:23 +01:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="@dimen/list_item_height"
android:orientation="horizontal">
2017-02-15 17:15:23 +01:00
<LinearLayout
android:layout_width="wrap_content"
android:minWidth="42dp"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/list_content_padding"
android:layout_gravity="center_vertical"
android:orientation="vertical">
2017-02-15 17:15:23 +01:00
<TextView
android:id="@+id/cumulative_distance"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:textColor="?attr/active_color_basic"
2017-02-15 17:15:23 +01:00
android:textSize="@dimen/default_sub_text_size"
android:textStyle="bold"
tools:text="631 m"/>
2017-02-15 17:15:23 +01:00
<TextView
android:id="@+id/cumulative_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:textColor="?attr/active_color_basic"
2017-02-15 17:15:23 +01:00
android:textSize="@dimen/default_sub_text_size"
android:textStyle="bold"
tools:text="0:50"/>
</LinearLayout>
2017-02-15 17:15:23 +01:00
<ImageView
android:id="@+id/direction"
android:layout_marginLeft="@dimen/list_header_padding"
android:layout_marginRight="@dimen/list_header_padding"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_gravity="center_vertical"/>
2017-02-15 17:15:23 +01:00
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
2017-02-16 08:54:03 +01:00
android:minWidth="46dp"
2017-02-15 17:15:23 +01:00
android:layout_marginRight="@dimen/list_header_padding"
android:orientation="vertical">
2017-02-15 17:15:23 +01:00
<TextView
android:id="@+id/distance"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:textColor="?attr/active_color_basic"
2017-02-15 17:15:23 +01:00
android:textSize="@dimen/default_sub_text_size"
android:textStyle="bold"
tools:text="@string/app_version"/>
2017-02-15 17:15:23 +01:00
<TextView
android:id="@+id/time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:textSize="@dimen/default_sub_text_size"
android:textColor="?attr/active_color_basic"
2017-02-15 17:15:23 +01:00
android:textStyle="bold"
tools:text="@string/app_version"/>
</LinearLayout>
<net.osmand.plus.widgets.TextViewEx
android:id="@+id/description"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginRight="5dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:textSize="@dimen/default_desc_text_size"
2019-07-04 20:49:32 +02:00
android:textColor="?android:textColorPrimary"
2017-02-15 17:15:23 +01:00
tools:text="Head Dmytrivska Street"
android:text=""/>
</LinearLayout>
<View
android:id="@+id/divider"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?attr/divider_color_basic"/>
</LinearLayout>