OsmAnd/OsmAnd/res/layout/route_info_list_item.xml

103 lines
No EOL
4.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="@dimen/list_item_height"
android:orientation="horizontal">
<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">
<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"
android:textSize="@dimen/default_sub_text_size"
android:textStyle="bold"
tools:text="631 m"/>
<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"
android:textSize="@dimen/default_sub_text_size"
android:textStyle="bold"
tools:text="0:50"/>
</LinearLayout>
<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"/>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:minWidth="46dp"
android:layout_marginRight="@dimen/list_header_padding"
android:orientation="vertical">
<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"
android:textSize="@dimen/default_sub_text_size"
android:textStyle="bold"
tools:text="@string/app_version"/>
<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"
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"
android:textColor="?attr/main_font_color_basic"
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>