2018-11-21 09:32:12 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:osmand="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/route_option_button"
|
2018-11-22 10:22:35 +01:00
|
|
|
android:layout_width="100dp"
|
2018-11-22 15:43:18 +01:00
|
|
|
android:layout_height="32dp"
|
2018-11-21 09:32:12 +01:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/route_option_container"
|
2018-11-22 15:43:18 +01:00
|
|
|
android:layout_width="match_parent"
|
2018-11-21 09:32:12 +01:00
|
|
|
android:layout_height="match_parent"
|
2018-11-22 15:43:18 +01:00
|
|
|
android:gravity="start"
|
2018-11-21 09:32:12 +01:00
|
|
|
android:visibility="visible"
|
2019-02-12 18:07:11 +01:00
|
|
|
tools:background="@drawable/btn_border_dark">
|
2018-11-21 09:32:12 +01:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/route_option_image_view"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingBottom="@dimen/route_info_icon_vertical_padding"
|
|
|
|
android:paddingLeft="@dimen/route_info_icon_vertical_padding"
|
|
|
|
android:paddingRight="@dimen/route_info_icon_vertical_padding"
|
|
|
|
android:paddingTop="@dimen/route_info_icon_vertical_padding"
|
|
|
|
android:src="@drawable/ic_action_edit_dark"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
android:id="@+id/route_option_title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:gravity="center"
|
|
|
|
android:letterSpacing="@dimen/text_button_letter_spacing"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:paddingBottom="3dp"
|
|
|
|
android:paddingEnd="4dp"
|
|
|
|
android:paddingLeft="3dp"
|
|
|
|
android:paddingRight="4dp"
|
|
|
|
android:paddingStart="3dp"
|
|
|
|
android:paddingTop="3dp"
|
|
|
|
android:text="@string/routing_attr_avoid_motorway_name"
|
2018-11-22 15:43:18 +01:00
|
|
|
android:textSize="@dimen/default_sub_text_size"
|
2018-11-21 09:32:12 +01:00
|
|
|
osmand:typeface="@string/font_roboto_medium"
|
|
|
|
tools:ignore="UnusedAttribute"
|
|
|
|
tools:textColor="?attr/wikivoyage_active_color" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/avoid_route_options_container"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:visibility="visible"
|
2019-02-12 18:07:11 +01:00
|
|
|
tools:background="@drawable/btn_border_dark" />
|
2018-11-21 09:32:12 +01:00
|
|
|
|
|
|
|
</LinearLayout>
|