mirror of
https://github.com/mihonapp/mihon.git
synced 2024-10-24 21:12:35 -04:00
3784d1a8f2
* [wip] hardcoded flag for hide on scroll * add corresponding option in settings * clean up a little Co-authored-by: arkon <arkon@users.noreply.github.com>
53 lines
2.2 KiB
XML
53 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/root_coordinator"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<eu.kanade.tachiyomi.widget.ElevationAppBarLayout
|
|
android:id="@+id/appbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:background="?attr/colorPrimary"
|
|
android:theme="?attr/actionBarTheme"
|
|
app:layout_scrollFlags="scroll|enterAlways|snap" />
|
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
android:id="@+id/tabs"
|
|
style="@style/Theme.Widget.Tabs"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
</eu.kanade.tachiyomi.widget.ElevationAppBarLayout>
|
|
|
|
<com.bluelinelabs.conductor.ChangeHandlerFrameLayout
|
|
android:id="@+id/controller_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
|
|
|
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
|
|
android:id="@+id/root_fab"
|
|
style="@style/Theme.Widget.FAB"
|
|
android:visibility="gone" />
|
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
|
android:id="@+id/bottom_nav"
|
|
style="@style/Widget.MaterialComponents.BottomNavigationView.Colored"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
app:itemIconTint="@color/bottom_nav_selector"
|
|
app:itemTextColor="@color/bottom_nav_selector"
|
|
app:labelVisibilityMode="labeled"
|
|
app:layout_insetEdge="bottom"
|
|
app:menu="@menu/bottom_nav" />
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|