mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-17 19:59:17 +01:00
f125ab01ee
* Change how the bottom navigation is hidden Modifies the translationY instead of the height. * Cleanups
89 lines
3.3 KiB
XML
89 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<eu.kanade.tachiyomi.widget.TachiyomiCoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/root_coordinator"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<eu.kanade.tachiyomi.widget.TachiyomiChangeHandlerFrameLayout
|
|
android:id="@+id/controller_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
<eu.kanade.tachiyomi.widget.ElevationAppBarLayout
|
|
android:id="@+id/appbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:fitsSystemWindows="true"
|
|
app:elevation="0dp"
|
|
app:statusBarForeground="?attr/colorToolbar">
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:theme="?attr/actionBarTheme"
|
|
app:layout_scrollFlags="scroll|enterAlways" />
|
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
android:id="@+id/tabs"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone" />
|
|
|
|
<FrameLayout
|
|
android:id="@+id/downloaded_only"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/colorTertiary"
|
|
android:visibility="gone"
|
|
tools:visibility="visible">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:padding="4dp"
|
|
android:text="@string/label_downloaded_only"
|
|
android:textColor="?attr/colorOnTertiary" />
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:id="@+id/incognito_mode"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/colorPrimary"
|
|
android:visibility="gone"
|
|
tools:visibility="visible">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:padding="4dp"
|
|
android:text="@string/pref_incognito_mode"
|
|
android:textColor="?attr/colorOnPrimary" />
|
|
|
|
</FrameLayout>
|
|
|
|
</eu.kanade.tachiyomi.widget.ElevationAppBarLayout>
|
|
|
|
<include
|
|
android:id="@+id/fab_layout"
|
|
layout="@layout/main_activity_fab" />
|
|
|
|
<eu.kanade.tachiyomi.widget.TachiyomiBottomNavigationView
|
|
android:id="@+id/bottom_nav"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:clickable="true"
|
|
app:layout_insetEdge="bottom"
|
|
app:menu="@menu/main_nav"
|
|
tools:ignore="KeyboardInaccessibleWidget" />
|
|
|
|
</eu.kanade.tachiyomi.widget.TachiyomiCoordinatorLayout>
|