tmap/res/layout/tmap_main_body.xml
2022-06-10 21:38:30 +09:00

23 lines
4.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:tag="layout/tmap_main_body_0" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<com.skt.tmap.mapview.streaming.MapViewStreaming android:id="@id/map_view" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<include android:id="@id/map_button" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/map_button_layout" />
<androidx.coordinatorlayout.widget.CoordinatorLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
<FrameLayout android:id="@id/bottom_sheet_content" android:tag="binding_1" android:background="@drawable/bottom_sheet_main_background" android:focusableInTouchMode="true" android:layout_width="fill_parent" android:layout_height="fill_parent" android:fillViewport="true" app:behavior_fitToContents="false" app:behavior_hideable="false" app:behavior_peekHeight="50.0dip" app:layout_behavior="com.skt.tmap.view.TmapBottomSheetBehavior">
<View android:layout_gravity="center_horizontal" android:id="@id/bottom_content_handle" android:layout_marginTop="@dimen/tmap_17dp" style="@style/bottom_sheet_handle" />
<include android:id="@id/bottom_sheet_content_layout" app:layout_constraintTop_toBottomOf="@id/bottom_content_handle" layout="@layout/tmap_main_bottom_content" />
<View android:id="@id/bottom_content_gradient_layout" android:background="@drawable/main_white_gradation_background" android:layout_width="fill_parent" android:layout_height="@dimen/tmap_15dp" android:layout_marginTop="@dimen/tmap_27dp" />
</FrameLayout>
<FrameLayout android:orientation="vertical" android:id="@id/bottom_sheet_callout" android:layout_width="fill_parent" android:layout_height="fill_parent" android:fillViewport="true" app:behavior_fitToContents="true" app:behavior_hideable="true" app:behavior_peekHeight="153.0dip" app:layout_behavior="com.skt.tmap.view.TmapBottomSheetBehavior" />
<RelativeLayout android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content">
<View android:id="@id/bottom_navigation_shadow" android:background="@drawable/shadow" android:layout_width="fill_parent" android:layout_height="@dimen/tmap_1dp" android:layout_above="@id/bottom_navigation_view" />
<com.google.android.material.bottomnavigation.BottomNavigationView android:id="@id/bottom_navigation_view" android:background="@drawable/bottom_sheet_navigation_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" app:elevation="@dimen/tmap_0dp" app:itemIconSize="@dimen/tmap_66dp" app:labelVisibilityMode="unlabeled" app:menu="@menu/main_bottom_menu" style="@style/Widget.BottomNavigationView" />
</RelativeLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
<androidx.constraintlayout.widget.ConstraintLayout android:id="@id/tmap_main_search_layout" android:tag="binding_2" android:layout_width="fill_parent" android:layout_height="@dimen/tmap_58dp" android:layout_marginLeft="@dimen/tmap_7dp" android:layout_marginRight="@dimen/tmap_61dp">
<TextView android:textSize="@dimen/tmap_16dp" android:textColor="@color/color_d8d8d8" android:gravity="center|left" android:background="@drawable/main_search_background" android:paddingLeft="@dimen/tmap_20dp" android:layout_width="@dimen/tmap_0dp" android:layout_height="@dimen/tmap_0dp" android:layout_marginLeft="@dimen/tmap_5dp" android:layout_marginTop="@dimen/tmap_6dp" android:layout_marginRight="@dimen/tmap_8dp" android:layout_marginBottom="@dimen/tmap_6dp" android:text="@string/str_tmap_main_search_hint" android:fontFamily="@font/skt_tmap_300" android:elevation="@dimen/tmap_5dp" app:layout_constrainedHeight="true" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<ImageView android:layout_gravity="right" android:id="@id/button_safety_driving" android:tag="binding_3" android:background="@drawable/selector_safety_driving" android:layout_width="@dimen/tmap_54dp" android:layout_height="@dimen/tmap_58dp" android:layout_marginRight="@dimen/tmap_7dp" />
<include android:id="@id/near_toolbar" layout="@layout/near_toolbar" />
</FrameLayout>