OsmAnd/OsmAnd/res/layout/waypoint_reached.xml
Victor Shcherb 0236bf66d6 Update ui
2015-04-17 02:22:34 +02:00

65 lines
No EOL
2.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:background="@drawable/view_transparent_selection"
android:id="@+id/package_delivered_layout"
android:minHeight="48dp"
android:descendantFocusability="blocksDescendants">
<ImageView
android:id="@+id/waypoint_icon"
android:layout_marginLeft="8dp"
android:src="@drawable/ic_action_fav_dark"
android:layout_height="25dp"
android:layout_width="25dp"
android:layout_gravity="center_vertical" />
<TextView
android:id="@+id/waypoint_dist"
android:layout_width="60dp"
android:layout_height="wrap_content"
android:layout_marginLeft="4dp"
android:layout_gravity="center_vertical"
android:textColor="@color/wpt_distance_color"
android:maxLines="2"
android:textStyle="bold"
android:textSize="@dimen/default_desc_text_size"/>
<TextView
android:id="@+id/waypoint_text"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="4dp"
android:maxLines="2"
android:ellipsize="end"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:textSize="@dimen/default_list_text_size" />
<ImageButton
android:id="@+id/all_points"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/shared_string_more"
android:layout_gravity="center_vertical"
android:visibility="gone"
android:focusable="false"
style="@style/Widget.AppCompat.ActionButton"
android:src="@drawable/ic_action_core_overflow_dark" />
<ImageButton
android:id="@+id/info_close"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/shared_string_close"
android:layout_gravity="center_vertical"
android:layout_marginRight="4dp"
style="@style/Widget.AppCompat.ActionButton"
android:focusable="false"
android:src="@drawable/ic_action_gremove_dark" />
</LinearLayout>