154 lines
No EOL
5.9 KiB
XML
154 lines
No EOL
5.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout
|
|
xmlns:osmand="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/package_delivered_layout"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/view_transparent_selection"
|
|
android:descendantFocusability="blocksDescendants"
|
|
android:minHeight="50dp"
|
|
android:orientation="horizontal">
|
|
|
|
<androidx.appcompat.widget.AppCompatCheckBox
|
|
android:id="@+id/checkbox"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/content_padding"
|
|
android:layout_gravity="center_vertical"
|
|
android:visibility="gone"
|
|
android:layout_marginStart="@dimen/content_padding" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/waypoint_icon"
|
|
android:layout_width="56dp"
|
|
android:layout_height="25dp"
|
|
android:layout_gravity="center_vertical"
|
|
osmand:srcCompat="@drawable/ic_action_favorite"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/waypoint_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:ellipsize="end"
|
|
android:maxLines="2"
|
|
android:textSize="@dimen/default_list_text_size"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="2dp"
|
|
android:orientation="horizontal">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/direction"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginRight="4dp"
|
|
osmand:srcCompat="@drawable/ic_direction_arrow"
|
|
android:visibility="gone"
|
|
android:layout_marginEnd="4dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/waypoint_dist"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:maxLines="1"
|
|
android:textColor="@color/color_myloc_distance"
|
|
android:textSize="@dimen/default_sub_text_size"/>
|
|
|
|
<TextView
|
|
android:id="@+id/waypoint_deviation"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:layout_marginLeft="6dp"
|
|
android:drawablePadding="2dp"
|
|
android:maxLines="1"
|
|
android:textColor="?android:textColorSecondary"
|
|
android:textSize="@dimen/default_sub_text_size"
|
|
android:layout_marginStart="6dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/waypoint_desc_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:textColor="?android:textColorSecondary"
|
|
android:textSize="@dimen/default_sub_text_size"/>
|
|
|
|
<TextView
|
|
android:visibility="gone"
|
|
android:id="@+id/date_group_text"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:layout_marginLeft="6dp"
|
|
android:layout_marginStart="6dp"
|
|
android:layout_weight="1"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:textColor="?android:textColorSecondary"
|
|
android:textSize="@dimen/default_sub_text_size"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<ImageButton
|
|
android:id="@+id/all_points"
|
|
style="@style/Widget.AppCompat.ActionButton"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginRight="2dp"
|
|
android:contentDescription="@string/shared_string_more"
|
|
android:focusable="false"
|
|
android:scaleType="center"
|
|
osmand:srcCompat="@drawable/ic_actions_menu"
|
|
android:visibility="gone"
|
|
android:layout_marginEnd="2dp" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/info_close"
|
|
style="@style/Widget.AppCompat.ActionButton"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginRight="2dp"
|
|
android:contentDescription="@string/shared_string_delete"
|
|
android:focusable="false"
|
|
android:scaleType="center"
|
|
osmand:srcCompat="@drawable/ic_action_remove_dark"
|
|
android:layout_marginEnd="2dp" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/info_move"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginRight="2dp"
|
|
android:contentDescription="@string/shared_string_more"
|
|
android:clickable="false"
|
|
android:focusable="false"
|
|
android:scaleType="center"
|
|
osmand:srcCompat="@drawable/ic_flat_list_dark"
|
|
android:visibility="gone"
|
|
android:layout_marginEnd="2dp" />
|
|
|
|
</LinearLayout> |