2010-04-28 00:13:20 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-08-22 14:55:28 +02:00
|
|
|
<android.support.v4.widget.DrawerLayout
|
2019-01-14 14:51:01 +01:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/drawer_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?attr/mapBackground"
|
|
|
|
android:layout_gravity="start">
|
2010-05-05 12:34:17 +02:00
|
|
|
|
2015-03-11 20:19:24 +01:00
|
|
|
<FrameLayout
|
2015-08-22 14:55:28 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
2014-10-07 16:16:33 +02:00
|
|
|
|
2015-08-22 14:55:28 +02:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/MapViewWithLayers"
|
2015-03-11 20:19:24 +01:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
2015-08-22 14:55:28 +02:00
|
|
|
android:keepScreenOn="true"
|
|
|
|
android:orientation="vertical">
|
2014-10-07 16:16:33 +02:00
|
|
|
|
2015-08-22 14:55:28 +02:00
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/atlasMapRendererViewStub"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:inflatedId="@+id/atlasMapRendererView"
|
|
|
|
android:layout="@layout/atlas_map_renderer_view"/>
|
2015-03-15 01:45:16 +01:00
|
|
|
|
2015-08-22 14:55:28 +02:00
|
|
|
<net.osmand.plus.views.OsmAndMapSurfaceView
|
|
|
|
android:id="@+id/MapView"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:contentDescription="@string/shared_string_map"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
|
|
<net.osmand.plus.views.OsmAndMapLayersView
|
|
|
|
android:id="@+id/MapLayersView"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:contentDescription="@string/shared_string_map"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
2016-12-28 16:33:40 +01:00
|
|
|
<FrameLayout
|
2015-08-22 14:55:28 +02:00
|
|
|
android:id="@+id/MapHudButtonsOverlay"
|
|
|
|
android:layout_width="match_parent"
|
2017-11-02 17:53:22 +01:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:fitsSystemWindows="true">
|
2015-08-22 14:55:28 +02:00
|
|
|
|
2017-11-24 16:33:36 +01:00
|
|
|
<include layout="@layout/map_hud_top"
|
|
|
|
android:id="@+id/MapHudButtonsOverlayTop"/>
|
2015-08-22 14:55:28 +02:00
|
|
|
|
2017-11-24 16:33:36 +01:00
|
|
|
<include layout="@layout/map_hud_bottom"
|
|
|
|
android:id="@+id/MapHudButtonsOverlayBottom"/>
|
2016-12-28 16:33:40 +01:00
|
|
|
|
2017-11-24 16:33:36 +01:00
|
|
|
<include layout="@layout/map_hud_quick_actions"
|
|
|
|
android:id="@+id/MapHudButtonsOverlayQuickActions"/>
|
2016-12-28 16:33:40 +01:00
|
|
|
</FrameLayout>
|
2015-12-10 14:50:55 +01:00
|
|
|
|
2015-09-23 12:14:46 +02:00
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom">
|
2015-12-10 14:50:55 +01:00
|
|
|
|
2015-09-23 12:14:46 +02:00
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1px"/>
|
2015-12-10 14:50:55 +01:00
|
|
|
|
2015-09-23 12:14:46 +02:00
|
|
|
</FrameLayout>
|
2015-08-22 14:55:28 +02:00
|
|
|
|
2017-05-08 08:57:06 +02:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/topFragmentContainer"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"/>
|
|
|
|
|
2015-12-10 14:50:55 +01:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/routeMenuContainer"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"/>
|
|
|
|
|
2015-08-22 14:55:28 +02:00
|
|
|
<include
|
|
|
|
layout="@layout/dashboard_over_map"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"/>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/fragmentContainer"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"/>
|
2015-12-10 14:50:55 +01:00
|
|
|
|
2015-09-23 15:50:43 +02:00
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"/>
|
2015-12-10 14:50:55 +01:00
|
|
|
|
2015-03-11 20:19:24 +01:00
|
|
|
</FrameLayout>
|
2014-10-07 16:16:33 +02:00
|
|
|
|
2018-11-10 17:12:29 +01:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/drawer_relative_layout"
|
2015-08-22 14:55:28 +02:00
|
|
|
android:layout_width="280dp"
|
2015-03-11 20:19:24 +01:00
|
|
|
android:layout_height="match_parent"
|
2019-01-16 11:35:07 +01:00
|
|
|
android:layout_gravity="start">
|
2018-11-10 17:12:29 +01:00
|
|
|
|
|
|
|
<ListView
|
|
|
|
android:id="@+id/menuItems"
|
|
|
|
android:layout_width="280dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?attr/bg_color"
|
|
|
|
android:clipToPadding="false"
|
2019-01-14 14:51:01 +01:00
|
|
|
android:drawSelectorOnTop="true"
|
|
|
|
android:layout_gravity="start"/>
|
2018-11-10 17:12:29 +01:00
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/drawer_footer_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:layout_alignParentBottom="true"
|
2019-01-14 14:51:01 +01:00
|
|
|
android:layout_gravity="start"
|
2018-11-10 17:12:29 +01:00
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
<include layout="@layout/powered_by_osmand_item"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout>
|
2015-03-11 20:19:24 +01:00
|
|
|
|
2015-08-22 14:55:28 +02:00
|
|
|
</android.support.v4.widget.DrawerLayout>
|