|
|
|
@ -1,5 +1,5 @@
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.drawerlayout.widget.DrawerLayout
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
@ -7,10 +7,6 @@
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:context=".main.ui.MainActivity">
|
|
|
|
tools:context=".main.ui.MainActivity">
|
|
|
|
|
|
|
|
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
|
|
android:id="@id/container"
|
|
|
|
android:id="@id/container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
@ -28,13 +24,15 @@
|
|
|
|
android:paddingRight="16dp"
|
|
|
|
android:paddingRight="16dp"
|
|
|
|
android:stateListAnimator="@null">
|
|
|
|
android:stateListAnimator="@null">
|
|
|
|
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
android:id="@+id/toolbar_card"
|
|
|
|
android:id="@+id/toolbar_card"
|
|
|
|
|
|
|
|
style="@style/Widget.Material3.CardView.Elevated"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_marginVertical="8dp"
|
|
|
|
android:layout_marginVertical="8dp"
|
|
|
|
android:background="@drawable/toolbar_background"
|
|
|
|
|
|
|
|
android:theme="@style/ThemeOverlay.Kotatsu.MainToolbar"
|
|
|
|
android:theme="@style/ThemeOverlay.Kotatsu.MainToolbar"
|
|
|
|
|
|
|
|
app:cardCornerRadius="50dp"
|
|
|
|
|
|
|
|
app:cardElevation="2dp"
|
|
|
|
app:layout_scrollFlags="scroll|enterAlways">
|
|
|
|
app:layout_scrollFlags="scroll|enterAlways">
|
|
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
|
|
@ -51,7 +49,7 @@
|
|
|
|
style="@style/Widget.Kotatsu.SearchView"
|
|
|
|
style="@style/Widget.Kotatsu.SearchView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginEnd="4dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:background="@null"
|
|
|
|
android:background="@null"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:hint="@string/search_manga"
|
|
|
|
android:hint="@string/search_manga"
|
|
|
|
@ -62,7 +60,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.appbar.MaterialToolbar>
|
|
|
|
</com.google.android.material.appbar.MaterialToolbar>
|
|
|
|
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
|
|
|
|
|
|
|
@ -81,14 +79,14 @@
|
|
|
|
app:layout_dodgeInsetEdges="bottom"
|
|
|
|
app:layout_dodgeInsetEdges="bottom"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
|
|
|
|
|
|
|
android:id="@+id/bottomNav"
|
|
|
|
<com.google.android.material.navigation.NavigationView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:id="@+id/navigationView"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:clickable="true"
|
|
|
|
android:layout_gravity="start"
|
|
|
|
app:layout_insetEdge="bottom"
|
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
app:menu="@menu/nav_menu"
|
|
|
|
app:menu="@menu/nav_drawer" />
|
|
|
|
tools:ignore="KeyboardInaccessibleWidget" />
|
|
|
|
|
|
|
|
|
|
|
|
</androidx.drawerlayout.widget.DrawerLayout>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|