OsmAnd/OsmAnd/res/layout/route_details_header.xml
2017-02-15 19:15:23 +03:00

25 lines
No EOL
875 B
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="@dimen/list_item_height"
android:orientation="horizontal">
<TextView
android:layout_marginLeft="5dp"
android:id="@+id/header"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:text="Route details"/>
<ImageButton
android:id="@+id/start_navigation"
android:contentDescription="@string/follow"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_width="@dimen/list_item_height"
android:layout_height="@dimen/list_item_height"
android:background="?attr/dashboard_button"
android:src="@drawable/ic_action_start_navigation"/>
</LinearLayout>