2024-01-22 01:56:19 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2023-12-07 01:36:00 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2024-01-22 01:54:51 +00:00
|
|
|
android:background="@color/colorSurface">
|
|
|
|
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
2024-01-22 01:56:19 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/bottom_nav"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
2024-01-22 01:54:51 +00:00
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/app_bar_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<com.google.android.material.appbar.CollapsingToolbarLayout
|
|
|
|
android:id="@+id/collapsing_toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="160dp"
|
2024-01-22 01:56:19 +00:00
|
|
|
android:background="@color/colorSurface"
|
2024-01-22 01:54:51 +00:00
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
android:minHeight="?attr/actionBarSize"
|
|
|
|
app:collapsedTitleGravity="start|center_vertical"
|
2024-01-22 01:56:19 +00:00
|
|
|
app:contentScrim="@color/colorSecondaryContainer"
|
2024-01-22 01:54:51 +00:00
|
|
|
app:expandedTitleGravity="start|bottom"
|
|
|
|
app:expandedTitleMarginBottom="16dp"
|
|
|
|
app:expandedTitleMarginStart="16dp"
|
|
|
|
app:expandedTitleTextAppearance="@style/TextAppearance.MaterialComponents.Headline4"
|
|
|
|
app:layout_scrollFlags="scroll|exitUntilCollapsed">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
app:layout_collapseMode="pin"
|
|
|
|
app:title="HOGE" />
|
|
|
|
|
|
|
|
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2024-01-22 01:56:19 +00:00
|
|
|
|
2024-01-22 01:54:51 +00:00
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
|
|
|
|
|
|
android:id="@+id/nav_host_fragment"
|
|
|
|
android:name="androidx.navigation.fragment.NavHostFragment"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:defaultNavHost="true"
|
|
|
|
app:navGraph="@navigation/main_nav"
|
2024-01-22 01:58:52 +00:00
|
|
|
tools:layout="@layout/fragment_home_top"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
|
2024-01-22 01:54:51 +00:00
|
|
|
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
|
|
|
2024-01-22 01:56:19 +00:00
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
|
|
|
android:id="@+id/bottom_nav"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@color/colorSecondaryContainer"
|
|
|
|
app:itemIconTint="@color/colorOnSecondaryContainer"
|
|
|
|
app:itemTextColor="@color/colorOnSecondaryContainer"
|
|
|
|
app:itemActiveIndicatorStyle="@style/Lacerta.Custom.Indicator"
|
|
|
|
app:labelVisibilityMode="selected"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:menu="@menu/bottom_nav_menu" />
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|