2016-03-08 15:22:45 -05:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-05-02 11:12:10 -04:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2015-12-30 08:10:31 -05:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2021-05-19 23:18:24 -04:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-07-10 10:44:54 -04:00
|
|
|
android:id="@+id/root_coordinator"
|
2015-09-24 11:27:43 -04:00
|
|
|
android:layout_width="match_parent"
|
2015-11-24 12:45:53 -05:00
|
|
|
android:layout_height="match_parent"
|
2020-04-10 14:49:21 -04:00
|
|
|
android:orientation="vertical">
|
2015-09-24 11:27:43 -04:00
|
|
|
|
2021-05-19 23:18:24 -04:00
|
|
|
<eu.kanade.tachiyomi.widget.ElevationAppBarLayout
|
|
|
|
android:id="@+id/appbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:fitsSystemWindows="true">
|
|
|
|
|
|
|
|
<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" />
|
|
|
|
|
|
|
|
<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" />
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/downloaded_only"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@color/green"
|
|
|
|
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="@color/md_white_1000" />
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/incognito_mode"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@color/md_grey_800"
|
|
|
|
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="@color/md_white_1000" />
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
</eu.kanade.tachiyomi.widget.ElevationAppBarLayout>
|
2020-04-10 14:49:21 -04:00
|
|
|
|
|
|
|
<com.bluelinelabs.conductor.ChangeHandlerFrameLayout
|
|
|
|
android:id="@+id/controller_container"
|
|
|
|
android:layout_width="match_parent"
|
2020-05-02 11:12:10 -04:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
2016-03-08 15:22:45 -05:00
|
|
|
|
2021-05-14 17:48:11 -04:00
|
|
|
<include
|
|
|
|
android:id="@+id/fab_layout"
|
|
|
|
layout="@layout/main_activity_fab" />
|
2020-07-10 10:44:54 -04:00
|
|
|
|
2020-04-10 14:49:21 -04:00
|
|
|
<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"
|
2021-05-14 09:14:42 -04:00
|
|
|
app:itemIconTint="@color/nav_selector"
|
2021-05-22 11:55:05 -04:00
|
|
|
app:itemRippleColor="?attr/rippleNavColor"
|
2021-05-22 12:02:49 -04:00
|
|
|
app:itemTextColor="@color/nav_selector"
|
2020-04-10 14:49:21 -04:00
|
|
|
app:labelVisibilityMode="labeled"
|
2020-09-26 19:27:39 -04:00
|
|
|
app:layout_insetEdge="bottom"
|
2021-05-14 09:14:42 -04:00
|
|
|
app:menu="@menu/main_nav" />
|
2017-05-06 09:49:39 -04:00
|
|
|
|
2020-05-02 11:12:10 -04:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|