/
githubmirror
/
omim
Обзор
Документация
Войти
/
githubmirror
/
omim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
android/res/layout/activity_map.xml
124 строки
4 KB
Alexey Osminin
[android] toolbar behavior is repalaced by sheet states callbacks
24 дек 2020, 20:41
24 дек 2020, 20:41
d22fe2b
Код
Авторство
О чём код?
<?xml version="1.0" encoding="utf-8"?> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/coordinator" android:layout_width="match_parent" android:layout_height="match_parent"> <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent"> <FrameLayout android:id="@+id/map_fragment_container" android:layout_width="match_parent" android:layout_height="match_parent"/> <include android:id="@+id/onmap_downloader" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" layout="@layout/onmap_downloader"/> <include android:id="@+id/position_chooser" layout="@layout/position_chooser"/> <include android:id="@+id/navigation_buttons" layout="@layout/map_navigation_buttons"/> <include android:id="@+id/toolbar" layout="@layout/toolbar_with_search" android:layout_width="match_parent" android:layout_height="wrap_content" android:visibility="gone" tools:visibility="visible" /> <include layout="@layout/layout_nav_search" android:visibility="gone" tools:visibility="invisible"/> <com.mapswithme.maps.widget.FadeView android:id="@+id/fade_view" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@android:color/black" android:visibility="gone"/> <include layout="@layout/layout_nav" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_below="@id/toolbar" android:paddingBottom="@dimen/margin_base" android:visibility="invisible"/> <include layout="@layout/routing_plan" android:visibility="invisible"/> <include android:id="@+id/menu_frame" layout="@layout/menu" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true"/> <include layout="@layout/search_filter_panel" android:layout_width="match_parent" android:layout_height="@dimen/height_block_base" android:layout_alignParentBottom="true"/> </RelativeLayout> <com.mapswithme.maps.widget.placepage.PlacePageView android:id="@+id/placepage" android:layout_width="match_parent" android:layout_height="wrap_content" android:fillViewport="true" app:behavior_hideable="true" app:behavior_defaultState="hidden" app:layout_behavior="@string/placepage_behavior"/> <FrameLayout android:id="@+id/pp_buttons_layout" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="bottom" android:visibility="invisible"> <LinearLayout android:id="@+id/container" android:layout_width="match_parent" android:layout_height="@dimen/place_page_buttons_height" android:orientation="horizontal" android:background="?ppButtonsBackground"/> <include layout="@layout/divider_horizontal"/> </FrameLayout> <include layout="@layout/elevation_profile_bottom_sheet" /> <include layout="@layout/main_menu_bottom_sheet" /> <include layout="@layout/guides_gallery_bottom_sheet" /> <include layout="@layout/guests_and_rooms_menu_bottom_sheet" /> <com.google.android.material.appbar.AppBarLayout android:id="@+id/app_bar" android:layout_width="match_parent" android:layout_height="wrap_content" app:elevation="@dimen/appbar_elevation" android:visibility="gone"> <androidx.appcompat.widget.Toolbar android:id="@+id/pp_toolbar" style="@style/MwmWidget.ToolbarStyle" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" android:theme="@style/MwmWidget.ToolbarTheme.DownButton"/> </com.google.android.material.appbar.AppBarLayout> <androidx.appcompat.widget.Toolbar android:id="@+id/bookmark_category_toolbar" style="@style/MwmWidget.ToolbarStyle" android:layout_width="match_parent" android:layout_height="?actionBarSize" android:elevation="0dp" android:theme="@style/MwmWidget.ToolbarTheme" android:visibility="gone" tools:visibility="visible" /> </androidx.coordinatorlayout.widget.CoordinatorLayout>