|
|
@@ -14,17 +14,15 @@
|
|
|
android:id="@+id/app_bar"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:backgroundTint="?attr/colorSurface"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent">
|
|
|
+ app:liftOnScroll="false"
|
|
|
+ android:fitsSystemWindows="true"
|
|
|
+ app:statusBarForeground="?attr/colorSurface">
|
|
|
|
|
|
<com.google.android.material.search.SearchBar
|
|
|
android:id="@+id/search_bar"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:hint="@string/search_book_key"
|
|
|
- app:layout_scrollFlags="scroll|enterAlways"
|
|
|
app:menu="@menu/book_search"
|
|
|
app:navigationIcon="@drawable/ic_arrow_back"
|
|
|
app:navigationIconTint="?attr/colorOnSurface" />
|
|
|
@@ -47,7 +45,7 @@
|
|
|
android:layout_marginHorizontal="16dp"
|
|
|
android:layout_marginVertical="4dp"
|
|
|
android:scaleType="centerCrop"
|
|
|
- android:visibility="gone"
|
|
|
+ android:visibility="invisible"
|
|
|
app:cardBackgroundColor="?attr/colorTertiaryContainer"
|
|
|
app:cardCornerRadius="4dp"
|
|
|
app:strokeWidth="0dp">
|
|
|
@@ -77,20 +75,13 @@
|
|
|
android:orientation="vertical"
|
|
|
android:visibility="visible"/>
|
|
|
|
|
|
- <io.legato.kazusa.ui.widget.dynamiclayout.DynamicFrameLayout
|
|
|
- android:id="@+id/content_view"
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/recycler_view"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior">
|
|
|
-
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
- android:id="@+id/recycler_view"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:clipToPadding="false"
|
|
|
- tools:listitem="@layout/item_search" />
|
|
|
-
|
|
|
- </io.legato.kazusa.ui.widget.dynamiclayout.DynamicFrameLayout>
|
|
|
+ android:clipToPadding="false"
|
|
|
+ tools:listitem="@layout/item_search"
|
|
|
+ app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"/>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:id="@+id/ll_stop"
|