79 lines
3.3 KiB
XML
79 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:osmand="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<android.support.design.widget.AppBarLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dashboard_map_toolbar"
|
|
android:background="?attr/actionModeBackground">
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
android:id="@+id/map_markers_toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:minHeight="@dimen/dashboard_map_toolbar"
|
|
app:contentInsetLeft="54dp"
|
|
app:contentInsetStart="54dp">
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:ellipsize="end"
|
|
android:gravity="center_vertical"
|
|
android:maxLines="1"
|
|
android:text="@string/map_markers"
|
|
android:textColor="@color/color_white"
|
|
android:textSize="@dimen/dialog_header_text_size"
|
|
osmand:typeface="@string/font_roboto_medium"/>
|
|
</android.support.v7.widget.Toolbar>
|
|
|
|
</android.support.design.widget.AppBarLayout>
|
|
|
|
<!-- Coordinator layout is needed in order to display the snackbar above the bottom navigation -->
|
|
<android.support.design.widget.CoordinatorLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/ctx_menu_info_view_bg">
|
|
|
|
<net.osmand.plus.LockableViewPager
|
|
android:id="@+id/map_markers_view_pager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"/>
|
|
</android.support.design.widget.CoordinatorLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<FrameLayout
|
|
android:id="@+id/menu_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="bottom|center_horizontal"/>
|
|
|
|
</FrameLayout>
|
|
|
|
<android.support.design.widget.BottomNavigationView
|
|
android:id="@+id/map_markers_bottom_navigation"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/bg_color"
|
|
app:itemBackground="?attr/bg_color"
|
|
app:itemIconTint="@color/bottom_navigation_color_selector_light"
|
|
app:itemTextColor="@color/bottom_navigation_color_selector_light"
|
|
app:menu="@menu/map_markers_bottom_navigation"/>
|
|
|
|
</LinearLayout>
|