2017-08-04 17:59:48 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="48dp">
|
|
|
|
|
|
|
|
<android.support.v7.widget.AppCompatImageView
|
|
|
|
android:id="@+id/measure_point_icon"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
android:layout_marginRight="24dp"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
tools:src="@drawable/ic_action_measure_point"/>
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/measure_point_remove_image_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:background="@null"
|
2017-08-07 13:59:18 +02:00
|
|
|
android:paddingBottom="12dp"
|
|
|
|
android:paddingEnd="16dp"
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingTop="12dp"
|
2017-08-04 17:59:48 +02:00
|
|
|
tools:src="@drawable/ic_action_remove_dark"/>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_toEndOf="@+id/measure_point_icon"
|
|
|
|
android:layout_toLeftOf="@id/measure_point_remove_image_button"
|
|
|
|
android:layout_toRightOf="@+id/measure_point_icon"
|
|
|
|
android:layout_toStartOf="@id/measure_point_remove_image_button"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<android.support.v7.widget.AppCompatTextView
|
|
|
|
android:id="@+id/measure_point_title"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
tools:text="@string/plugin_distance_point"/>
|
|
|
|
|
|
|
|
<android.support.v7.widget.AppCompatTextView
|
|
|
|
android:id="@+id/measure_point_descr"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="?android:textColorSecondary"
|
|
|
|
android:textSize="@dimen/default_sub_text_size"
|
|
|
|
tools:text="@string/shared_string_control_start"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<View
|
2017-08-07 13:59:18 +02:00
|
|
|
android:id="@+id/points_divider"
|
2017-08-04 17:59:48 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_toEndOf="@+id/measure_point_icon"
|
|
|
|
android:layout_toRightOf="@+id/measure_point_icon"
|
|
|
|
android:background="?attr/dashboard_divider"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|