2016-03-08 21:22:45 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-05-02 17:12:10 +02:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2015-12-30 14:10:31 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2020-10-03 16:48:53 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-07-10 16:44:54 +02:00
|
|
|
android:id="@+id/root_coordinator"
|
2015-09-24 17:27:43 +02:00
|
|
|
android:layout_width="match_parent"
|
2015-11-24 18:45:53 +01:00
|
|
|
android:layout_height="match_parent"
|
2020-04-10 20:49:21 +02:00
|
|
|
android:orientation="vertical">
|
2015-09-24 17:27:43 +02:00
|
|
|
|
2020-04-10 20:49:21 +02:00
|
|
|
<eu.kanade.tachiyomi.widget.ElevationAppBarLayout
|
|
|
|
android:id="@+id/appbar"
|
2015-12-26 00:07:45 +01:00
|
|
|
android:layout_width="match_parent"
|
2020-04-10 20:49:21 +02:00
|
|
|
android:layout_height="wrap_content">
|
2015-12-26 00:07:45 +01:00
|
|
|
|
2020-04-10 20:49:21 +02:00
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
|
|
android:id="@+id/toolbar"
|
2016-03-08 21:22:45 +01:00
|
|
|
android:layout_width="match_parent"
|
2020-04-10 20:49:21 +02:00
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:background="?attr/colorPrimary"
|
2020-05-02 17:12:10 +02:00
|
|
|
android:theme="?attr/actionBarTheme"
|
|
|
|
app:layout_scrollFlags="scroll|enterAlways|snap" />
|
2015-12-26 00:07:45 +01:00
|
|
|
|
2020-04-10 20:49:21 +02:00
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
|
|
android:id="@+id/tabs"
|
2020-04-19 01:05:19 +02:00
|
|
|
style="@style/Theme.Widget.Tabs"
|
2020-02-26 01:40:14 +01:00
|
|
|
android:layout_width="match_parent"
|
2020-04-19 01:05:19 +02:00
|
|
|
android:layout_height="wrap_content" />
|
2020-04-10 20:49:21 +02:00
|
|
|
|
2020-10-03 16:48:53 +02:00
|
|
|
<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>
|
|
|
|
|
2020-10-03 16:53:26 +02:00
|
|
|
<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>
|
|
|
|
|
2020-04-10 20:49:21 +02:00
|
|
|
</eu.kanade.tachiyomi.widget.ElevationAppBarLayout>
|
|
|
|
|
|
|
|
<com.bluelinelabs.conductor.ChangeHandlerFrameLayout
|
|
|
|
android:id="@+id/controller_container"
|
|
|
|
android:layout_width="match_parent"
|
2020-05-02 17:12:10 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
2016-03-08 21:22:45 +01:00
|
|
|
|
2020-07-10 16:44:54 +02:00
|
|
|
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
|
|
|
|
android:id="@+id/root_fab"
|
|
|
|
style="@style/Theme.Widget.FAB"
|
2020-10-18 16:21:03 +02:00
|
|
|
android:visibility="gone"
|
|
|
|
tools:icon="@drawable/ic_add_24dp"
|
|
|
|
tools:text="Action"
|
|
|
|
tools:visibility="visible" />
|
2020-07-10 16:44:54 +02:00
|
|
|
|
2020-04-10 20:49:21 +02: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"
|
2020-09-27 01:27:39 +02:00
|
|
|
app:itemIconTint="@color/bottom_nav_selector"
|
|
|
|
app:itemTextColor="@color/bottom_nav_selector"
|
2020-04-10 20:49:21 +02:00
|
|
|
app:labelVisibilityMode="labeled"
|
2020-09-27 01:27:39 +02:00
|
|
|
app:layout_insetEdge="bottom"
|
2020-04-10 20:49:21 +02:00
|
|
|
app:menu="@menu/bottom_nav" />
|
2017-05-06 15:49:39 +02:00
|
|
|
|
2020-05-02 17:12:10 +02:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|