OsmAnd/OsmAnd/res/layout/route_info_list_item.xml
Victor Shcherb b5b8af3db6 Fix issues
2015-03-25 20:23:25 +01:00

73 lines
No EOL
2.2 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">
<LinearLayout
android:layout_width="wrap_content"
android:minWidth="50dp"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/list_content_padding"
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="@color/color_distance"
tools:text="@string/app_version"/>
<TextView
android:id="@+id/cumulative_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:textColor="@color/color_distance"
tools:text="@string/app_version"/>
</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"/>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:minWidth="50dp"
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="@color/color_distance"
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:textColor="@color/color_distance"
tools:text="@string/app_version"/>
</LinearLayout>
<TextView
android:id="@+id/description"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginRight="5dp"
android:layout_gravity="center_vertical"
android:layout_weight="1"
tools:text="@string/lorem_ipsum"
android:text=""/>
</LinearLayout>