OsmAnd/OsmAnd/res/layout/osm_edit_list_item.xml

38 lines
1.7 KiB
XML
Raw Normal View History

<?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"
2020-02-24 15:17:23 +01:00
android:textColor="?android:textColorPrimary"
android:gravity="center_vertical"
android:textSize="@dimen/default_list_text_size"
2020-02-24 15:17:23 +01:00
tools:text="@string/lorem_ipsum"
android:layout_marginEnd="@dimen/dialog_elements_vertical_margin"
android:layout_marginStart="@dimen/dialog_elements_vertical_margin" />
2020-05-15 09:58:37 +02:00
<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"
2020-02-24 15:17:23 +01:00
android:textSize="@dimen/default_desc_text_size"
android:layout_marginEnd="@dimen/dialog_elements_vertical_margin"
android:layout_marginStart="3dp" />
</LinearLayout>