2017-08-08 11:44:41 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:osmand="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<ListView
|
|
|
|
android:id="@android:id/list"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginLeft="0dp"
|
|
|
|
android:layout_marginRight="0dp"
|
|
|
|
android:layout_marginTop="0dp"/>
|
|
|
|
|
|
|
|
<android.support.design.widget.FloatingActionButton
|
|
|
|
android:id="@+id/menu_fab"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
android:contentDescription="@string/quick_action_new_action"
|
2017-08-08 12:29:22 +02:00
|
|
|
android:src="@drawable/ic_action_plus"
|
2017-08-08 11:44:41 +02:00
|
|
|
app:backgroundTint="@color/dashboard_blue"
|
|
|
|
app:fabSize="normal"/>
|
|
|
|
|
|
|
|
<android.support.design.widget.FloatingActionButton
|
|
|
|
android:id="@+id/waypoint_fab"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_above="@id/menu_fab"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_marginRight="24dp"
|
|
|
|
android:contentDescription="@string/quick_action_new_action"
|
|
|
|
android:src="@drawable/ic_action_marker_dark"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:backgroundTint="@color/dashboard_blue"
|
|
|
|
app:fabSize="mini"
|
|
|
|
tools:visibility="visible"/>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/waypoint_text_layout"
|
|
|
|
android:layout_toLeftOf="@id/waypoint_fab"
|
|
|
|
android:layout_toStartOf="@id/waypoint_fab"
|
|
|
|
android:layout_above="@id/menu_fab"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="40dp"
|
|
|
|
android:layout_marginRight="16dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
osmand:typeface="@string/font_roboto_medium"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:id="@+id/waypoint_text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:text="@string/add_waypoint"/>
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<android.support.design.widget.FloatingActionButton
|
|
|
|
android:id="@+id/route_fab"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_above="@id/waypoint_fab"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:layout_marginRight="24dp"
|
|
|
|
android:contentDescription="@string/quick_action_new_action"
|
|
|
|
android:src="@drawable/ic_action_markers_dark"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:backgroundTint="@color/dashboard_blue"
|
|
|
|
app:fabSize="mini"
|
|
|
|
tools:visibility="visible"/>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/route_text_layout"
|
|
|
|
android:layout_toLeftOf="@id/route_fab"
|
|
|
|
android:layout_toStartOf="@id/route_fab"
|
|
|
|
android:layout_above="@id/waypoint_fab"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="40dp"
|
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:layout_marginRight="16dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
osmand:typeface="@string/font_roboto_medium"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:id="@+id/route_text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:text="@string/add_route_point"/>
|
|
|
|
|
|
|
|
</FrameLayout>
|
2017-08-08 12:22:14 +02:00
|
|
|
|
|
|
|
<android.support.design.widget.FloatingActionButton
|
|
|
|
android:id="@+id/line_fab"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_above="@id/route_fab"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:layout_marginRight="24dp"
|
|
|
|
android:contentDescription="@string/quick_action_new_action"
|
|
|
|
android:src="@drawable/ic_action_polygom_dark"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:backgroundTint="@color/dashboard_blue"
|
|
|
|
app:fabSize="mini"
|
|
|
|
tools:visibility="visible"/>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/line_text_layout"
|
|
|
|
android:layout_toLeftOf="@id/line_fab"
|
|
|
|
android:layout_toStartOf="@id/line_fab"
|
|
|
|
android:layout_above="@id/route_fab"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="40dp"
|
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:layout_marginRight="16dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
osmand:typeface="@string/font_roboto_medium"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:id="@+id/line_text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:text="@string/add_line"/>
|
|
|
|
|
|
|
|
</FrameLayout>
|
2017-08-08 11:44:41 +02:00
|
|
|
</RelativeLayout>
|