Lacerta/feature/home/src/main/res/layout/fragment_home_top.xml

72 lines
3.1 KiB
XML
Raw Normal View History

<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
2024-01-19 06:45:18 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
2024-01-19 06:45:18 +00:00
android:layout_height="match_parent">
2023-12-19 03:56:31 +00:00
2024-01-19 07:51:20 +00:00
<androidx.coordinatorlayout.widget.CoordinatorLayout
2024-01-19 06:45:18 +00:00
android:layout_width="match_parent"
2024-01-19 07:51:20 +00:00
android:layout_height="match_parent">
2024-01-19 07:51:20 +00:00
<com.google.android.material.appbar.AppBarLayout
2024-01-19 06:45:18 +00:00
android:layout_width="match_parent"
2024-01-19 07:51:20 +00:00
android:layout_height="wrap_content">
<com.google.android.material.appbar.CollapsingToolbarLayout
android:id="@+id/collapsing_toolbar"
2024-01-19 06:45:18 +00:00
android:layout_width="match_parent"
2024-01-19 07:51:20 +00:00
android:layout_height="128dp"
android:fitsSystemWindows="true"
android:minHeight="?attr/actionBarSize"
app:collapsedTitleGravity="start|center_vertical"
app:expandedTitleGravity="start|bottom"
app:expandedTitleMarginBottom="16dp"
app:expandedTitleMarginStart="16dp"
app:expandedTitleTextAppearance="@style/TextAppearance.MaterialComponents.Headline4"
app:layout_scrollFlags="scroll|exitUntilCollapsed">
2023-12-19 03:56:31 +00:00
2024-01-19 07:51:20 +00:00
<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"/>
2023-12-19 03:56:31 +00:00
2024-01-19 07:51:20 +00:00
</com.google.android.material.appbar.CollapsingToolbarLayout>
2024-01-19 07:51:20 +00:00
</com.google.android.material.appbar.AppBarLayout>
2024-01-19 06:51:03 +00:00
2024-01-19 07:51:20 +00:00
<androidx.core.widget.NestedScrollView
2024-01-19 06:51:03 +00:00
android:layout_width="match_parent"
2024-01-19 07:51:20 +00:00
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
2024-01-19 06:51:03 +00:00
2024-01-19 07:51:20 +00:00
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
2024-01-19 06:51:03 +00:00
android:layout_height="wrap_content"
2024-01-19 07:51:20 +00:00
android:paddingStart="16dp"
android:paddingEnd="16dp">
2024-01-19 06:51:03 +00:00
2024-01-19 07:51:20 +00:00
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:text="テストテストテストテストテストテストテストテストテストテスト"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
2024-01-19 06:51:03 +00:00
2024-01-19 07:51:20 +00:00
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
<com.google.android.material.navigation.NavigationView
android:id="@+id/nav_view"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="start"
app:menu="@menu/drawer_menu" />
</androidx.drawerlayout.widget.DrawerLayout>