OsmAnd/OsmAnd/res/layout/quick_action_list_item.xml
Dima-1 b151853669 Merge branch 'master' into Fix_ic_action_fav_icon
# Conflicts:
#	OsmAnd/res/layout/along_the_route_point_item.xml
#	OsmAnd/res/layout/map_marker_item.xml
#	OsmAnd/res/layout/quick_action_add_dialog_item.xml
#	OsmAnd/res/layout/quick_action_add_favorite.xml
#	OsmAnd/res/layout/quick_action_add_gpx.xml
#	OsmAnd/res/layout/quick_action_create_edit_dialog.xml
#	OsmAnd/res/layout/quick_action_list_item.xml
#	OsmAnd/res/layout/route_waypoint_item.xml
#	OsmAnd/res/layout/waypoint_reached.xml
2020-05-14 12:25:56 +03:00

92 lines
No EOL
3.6 KiB
XML

<?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:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/bg_color"
android:orientation="vertical">
<LinearLayout
android:id="@+id/searchListItemLayout"
android:layout_width="match_parent"
android:clickable="true"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:minHeight="60dp"
android:orientation="horizontal">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/handle_view"
android:layout_width="56dp"
android:layout_height="match_parent"
android:layout_gravity="center_vertical"
android:layout_marginRight="4dp"
android:focusable="false"
android:scaleType="centerInside"
android:tint="?attr/secondary_icon_color"
osmand:srcCompat="@drawable/ic_action_item_move"
android:layout_marginEnd="4dp" />
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/imageView"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_gravity="center_vertical"
android:layout_marginRight="8dp"
android:scaleType="centerInside"
android:tint="?attr/default_icon_color"
osmand:srcCompat="@drawable/ic_action_flag"
android:layout_marginEnd="8dp" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="8dp"
android:layout_weight="1"
android:orientation="vertical"
android:paddingBottom="8dp"
android:paddingTop="8dp"
android:layout_marginStart="8dp">
<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"
android:paddingEnd="16dp" />
<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"/>
</LinearLayout>
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/closeImageButton"
android:layout_width="56dp"
android:layout_height="match_parent"
android:layout_gravity="center_vertical"
android:background="?attr/selectableItemBackground"
android:scaleType="centerInside"
android:tint="?attr/secondary_icon_color"
android:contentDescription="@string/action_delete"
osmand:srcCompat="@drawable/ic_action_remove_dark"/>
</LinearLayout>
<View
android:id="@+id/divider"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?attr/dashboard_divider"/>
</LinearLayout>