OsmAnd/OsmAnd/res/layout/osm_edit_list_item.xml
2020-05-15 10:58:37 +03:00

38 lines
No EOL
1.7 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="fill_parent"
android:layout_height="wrap_content"
android:minHeight="@dimen/list_item_height">
<TextView
android:id="@+id/nameTextView"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/dialog_elements_vertical_margin"
android:layout_marginRight="@dimen/dialog_elements_vertical_margin"
android:layout_weight="1"
android:textColor="?android:textColorPrimary"
android:gravity="center_vertical"
android:textSize="@dimen/default_list_text_size"
tools:text="@string/lorem_ipsum"
android:layout_marginEnd="@dimen/dialog_elements_vertical_margin"
android:layout_marginStart="@dimen/dialog_elements_vertical_margin" />
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/iconImageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="3dp"
android:layout_marginRight="@dimen/dialog_elements_vertical_margin"
android:gravity="center_vertical"
android:maxLines="2"
osmand:srcCompat="@drawable/ic_action_remove_dark"
android:textSize="@dimen/default_desc_text_size"
android:layout_marginEnd="@dimen/dialog_elements_vertical_margin"
android:layout_marginStart="3dp" />
</LinearLayout>