2016-12-20 15:23:40 +01:00
|
|
|
<?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="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-12-23 15:04:54 +01:00
|
|
|
android:background="?attr/bg_color"
|
2016-12-20 15:23:40 +01:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/searchListItemLayout"
|
|
|
|
android:layout_width="match_parent"
|
2016-12-23 15:04:54 +01:00
|
|
|
android:clickable="true"
|
2016-12-20 15:23:40 +01:00
|
|
|
android:layout_height="wrap_content"
|
2017-02-08 16:05:32 +01:00
|
|
|
android:background="?attr/selectableItemBackground"
|
2016-12-20 15:23:40 +01:00
|
|
|
android:minHeight="60dp"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
2016-12-21 17:14:51 +01:00
|
|
|
android:id="@+id/handle_view"
|
2016-12-20 15:23:40 +01:00
|
|
|
android:layout_width="56dp"
|
2016-12-23 15:04:54 +01:00
|
|
|
android:layout_height="match_parent"
|
2016-12-20 15:23:40 +01:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginRight="4dp"
|
|
|
|
android:focusable="false"
|
|
|
|
android:scaleType="centerInside"
|
2017-01-05 15:32:38 +01:00
|
|
|
android:tint="?attr/secondary_icon_color"
|
2016-12-21 17:14:51 +01:00
|
|
|
android:src="@drawable/ic_action_reorder"/>
|
2016-12-20 15:23:40 +01:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/imageView"
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginRight="8dp"
|
2016-12-23 15:04:54 +01:00
|
|
|
android:scaleType="centerInside"
|
2017-01-06 17:51:54 +01:00
|
|
|
android:tint="?attr/primary_icon_color"
|
2016-12-23 15:04:54 +01:00
|
|
|
android:src="@drawable/ic_action_flag_dark"/>
|
2016-12-20 15:23:40 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2016-12-23 15:04:54 +01:00
|
|
|
android:layout_marginLeft="8dp"
|
2016-12-20 15:23:40 +01:00
|
|
|
android:layout_weight="1"
|
2016-12-23 15:04:54 +01:00
|
|
|
android:orientation="vertical"
|
2016-12-20 15:23:40 +01:00
|
|
|
android:paddingBottom="8dp"
|
2016-12-23 15:04:54 +01:00
|
|
|
android:paddingTop="8dp">
|
2016-12-20 15:23:40 +01:00
|
|
|
|
2016-12-23 15:04:54 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/title"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingRight="16dp"
|
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
|
android:textSize="@dimen/default_list_text_size"
|
|
|
|
tools:text="Add marker"/>
|
2016-12-20 15:23:40 +01:00
|
|
|
|
2016-12-23 15:04:54 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/subtitle"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="?android:textColorSecondary"
|
|
|
|
android:textSize="@dimen/default_sub_text_size"
|
|
|
|
tools:text="Action 1"/>
|
2016-12-20 15:23:40 +01:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/closeImageButton"
|
2016-12-23 15:04:54 +01:00
|
|
|
android:layout_width="56dp"
|
|
|
|
android:layout_height="match_parent"
|
2016-12-20 15:23:40 +01:00
|
|
|
android:layout_gravity="center_vertical"
|
2017-02-08 16:05:32 +01:00
|
|
|
android:background="?attr/selectableItemBackground"
|
2016-12-23 15:04:54 +01:00
|
|
|
android:scaleType="centerInside"
|
2017-01-05 15:32:38 +01:00
|
|
|
android:tint="?attr/secondary_icon_color"
|
2017-04-23 11:22:07 +02:00
|
|
|
android:contentDescription="@string/action_delete"
|
2016-12-23 15:04:54 +01:00
|
|
|
android:src="@drawable/ic_action_remove_dark"/>
|
2016-12-20 15:23:40 +01:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/divider"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:background="?attr/dashboard_divider"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|