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

56 lines
2.3 KiB
XML
Raw Normal View History

2024-01-19 06:45:18 +00:00
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
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 06:45:18 +00:00
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
2024-01-19 06:45:18 +00:00
<com.google.android.material.appbar.CollapsingToolbarLayout
android:id="@+id/collapsing_toolbar"
android:layout_width="match_parent"
2024-01-19 06:49:23 +00:00
android:layout_height="256dp"
android:fitsSystemWindows="true"
android:minHeight="?attr/actionBarSize"
app:expandedTitleGravity="start|bottom"
app:expandedTitleMarginBottom="16dp"
app:expandedTitleMarginStart="16dp"
2024-01-19 06:45:18 +00:00
app:layout_scrollFlags="scroll|exitUntilCollapsed">
2023-12-19 03:56:31 +00:00
2024-01-19 06:45:18 +00:00
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
2024-01-19 06:49:23 +00:00
app:layout_collapseMode="pin"
app:title="HOGE"/>
2023-12-19 03:56:31 +00:00
2024-01-19 06:45:18 +00:00
</com.google.android.material.appbar.CollapsingToolbarLayout>
2023-12-19 03:56:31 +00:00
2024-01-19 06:45:18 +00:00
</com.google.android.material.appbar.AppBarLayout>
2024-01-19 06:51:03 +00:00
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="16dp"
android:paddingEnd="16dp">
<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" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.core.widget.NestedScrollView>
2024-01-17 03:35:30 +00:00
2024-01-19 06:45:18 +00:00
</androidx.coordinatorlayout.widget.CoordinatorLayout>