OsmAnd/OsmAnd/res/layout/main.xml

50 lines
1.8 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2015-03-18 13:38:30 +01:00
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
2015-03-11 20:19:24 +01:00
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent" >
2015-03-11 20:19:24 +01:00
<FrameLayout
2015-03-15 01:45:16 +01:00
android:id="@+id/MapViewWithLayers"
2015-03-11 20:19:24 +01:00
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:keepScreenOn="true"
android:orientation="vertical" >
2015-03-11 20:19:24 +01: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" />
2014-10-07 16:16:33 +02:00
2015-03-11 20:19:24 +01: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" />
2014-10-07 16:16:33 +02:00
2015-03-11 20:19:24 +01:00
<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" />
2015-03-15 01:45:16 +01:00
2015-03-11 20:19:24 +01:00
</FrameLayout>
2015-03-15 01:45:16 +01:00
2015-03-11 20:19:24 +01:00
<FrameLayout
android:id="@+id/MapHudButtonsOverlay"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<include layout="@layout/map_hud_top" />
<include layout="@layout/map_hud_bottom" />
</FrameLayout>
2014-10-07 16:16:33 +02:00
2015-03-11 20:19:24 +01:00
<include
android:layout_width="match_parent"
android:layout_height="match_parent"
layout="@layout/dashboard_over_map" />
2015-03-18 13:38:30 +01:00
</FrameLayout>