OsmAnd/OsmAnd/res/layout/quick_action_add_dialog_item.xml

35 lines
1.2 KiB
XML
Raw Normal View History

2016-12-22 16:43:47 +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:id="@+id/searchListItemLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="48dp"
2016-12-23 14:35:37 +01:00
android:paddingRight="24dp"
android:paddingLeft="24dp"
2017-02-08 16:05:32 +01:00
android:background="?attr/selectableItemBackground"
2016-12-22 16:43:47 +01:00
android:orientation="horizontal">
<ImageView
android:id="@+id/image"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_gravity="center_vertical"
android:layout_marginRight="16dp"
android:scaleType="centerInside"
2017-01-05 15:32:38 +01:00
android:tint="?attr/primary_icon_color"
2016-12-22 16:43:47 +01:00
android:src="@drawable/ic_action_flag_dark" />
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:textColor="?android:textColorPrimary"
android:textSize="@dimen/default_list_text_size"
tools:text="Add marker" />
</LinearLayout>