2015-04-20 02:04:35 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-12-04 11:36:31 +01:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-05-13 13:34:36 +02:00
|
|
|
xmlns:osmand="http://schemas.android.com/apk/res-auto"
|
2018-12-04 11:36:31 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:minHeight="@dimen/bottom_sheet_selected_item_title_height"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingLeft="@dimen/content_padding"
|
2020-02-24 15:17:23 +01:00
|
|
|
android:paddingRight="@dimen/content_padding"
|
|
|
|
android:paddingEnd="@dimen/content_padding"
|
|
|
|
android:paddingStart="@dimen/content_padding">
|
2015-04-20 02:04:35 +02:00
|
|
|
|
2020-05-15 09:58:37 +02:00
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
2018-12-04 11:36:31 +01:00
|
|
|
android:id="@+id/icon"
|
|
|
|
android:layout_width="@dimen/standard_icon_size"
|
|
|
|
android:layout_height="@dimen/standard_icon_size"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginEnd="@dimen/bottom_sheet_icon_margin"
|
|
|
|
android:layout_marginRight="@dimen/bottom_sheet_icon_margin"
|
|
|
|
tools:src="@drawable/ic_action_coordinates_latitude" />
|
2015-04-20 02:04:35 +02:00
|
|
|
|
2018-12-04 11:36:31 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:orientation="vertical">
|
2015-12-17 20:55:38 +01:00
|
|
|
|
2018-12-04 11:36:31 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/title"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="@dimen/content_padding"
|
|
|
|
android:layout_marginRight="@dimen/content_padding"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="2"
|
|
|
|
android:text="@string/shared_string_gpx_route"
|
|
|
|
android:textAppearance="@style/TextAppearance.ListItemTitle" />
|
2015-12-17 20:55:38 +01:00
|
|
|
|
2018-12-04 11:36:31 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/description"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="2"
|
2020-08-20 16:12:12 +02:00
|
|
|
android:textAppearance="@style/TextAppearance.ContextMenuSubtitle"
|
|
|
|
android:textColor="@null" />
|
2015-04-20 02:04:35 +02:00
|
|
|
|
2018-12-04 11:36:31 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
2020-05-15 09:58:37 +02:00
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
2018-12-04 11:36:31 +01:00
|
|
|
android:id="@+id/dropDownIcon"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2020-05-13 13:34:36 +02:00
|
|
|
osmand:srcCompat="@drawable/ic_action_arrow_drop_down" />
|
2015-12-18 11:09:38 +01:00
|
|
|
|
2015-04-20 02:04:35 +02:00
|
|
|
</LinearLayout>
|