2016-03-08 21:22:45 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-10-30 06:23:47 +01:00
|
|
|
|
|
|
|
<FrameLayout
|
2015-12-30 14:10:31 +01:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2019-10-30 06:23:47 +01:00
|
|
|
android:id="@+id/drawer_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<androidx.drawerlayout.widget.DrawerLayout
|
|
|
|
android:id="@+id/drawer"
|
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"
|
2016-03-08 21:22:45 +01:00
|
|
|
android:fitsSystemWindows="true">
|
2015-09-24 17:27:43 +02:00
|
|
|
|
2020-02-01 10:29:26 +01:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2017-05-06 15:49:39 +02:00
|
|
|
android:orientation="vertical"
|
2016-03-08 21:22:45 +01:00
|
|
|
android:id="@+id/main_content"
|
2015-12-26 00:07:45 +01:00
|
|
|
android:layout_width="match_parent"
|
2019-10-24 08:43:18 +02:00
|
|
|
android:fitsSystemWindows="true"
|
2016-03-08 21:22:45 +01:00
|
|
|
android:layout_height="match_parent">
|
2015-12-26 00:07:45 +01:00
|
|
|
|
2017-01-22 23:13:07 +01:00
|
|
|
<eu.kanade.tachiyomi.widget.ElevationAppBarLayout
|
2016-03-08 21:22:45 +01:00
|
|
|
android:id="@+id/appbar"
|
|
|
|
android:layout_width="match_parent"
|
2020-02-01 10:29:26 +01:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
2016-03-08 21:22:45 +01:00
|
|
|
android:layout_height="wrap_content">
|
2015-12-26 00:07:45 +01:00
|
|
|
|
2019-10-29 06:51:46 +01:00
|
|
|
<androidx.appcompat.widget.Toolbar
|
2017-05-25 12:16:58 +02:00
|
|
|
android:id="@+id/toolbar"
|
2020-01-11 08:50:02 +01:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-05-25 12:16:58 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:background="?attr/colorPrimary"
|
|
|
|
android:theme="?attr/actionBarTheme"/>
|
2016-03-08 21:22:45 +01:00
|
|
|
|
2019-10-29 06:51:46 +01:00
|
|
|
<com.google.android.material.tabs.TabLayout
|
2016-04-13 16:42:59 +02:00
|
|
|
android:id="@+id/tabs"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:theme="@style/Theme.ActionBar.Tab"
|
2020-02-01 11:47:25 +01:00
|
|
|
android:background="?colorPrimary"
|
|
|
|
app:tabRippleColor="@color/rippleColor"
|
2020-02-01 10:29:26 +01:00
|
|
|
app:tabIndicatorColor="?attr/tabBarIconColor"
|
|
|
|
app:tabTextColor="?attr/tabBarIconColor"
|
2020-01-19 22:26:38 +01:00
|
|
|
app:tabInlineLabel="true"
|
2016-04-13 16:42:59 +02:00
|
|
|
app:tabGravity="center"
|
2020-02-01 10:29:26 +01:00
|
|
|
app:tabMode="auto"
|
2016-04-13 16:42:59 +02:00
|
|
|
app:tabMinWidth="75dp"/>
|
|
|
|
|
2017-01-22 23:13:07 +01:00
|
|
|
</eu.kanade.tachiyomi.widget.ElevationAppBarLayout>
|
2015-09-25 12:44:11 +02:00
|
|
|
|
2017-05-06 15:49:39 +02:00
|
|
|
<com.bluelinelabs.conductor.ChangeHandlerFrameLayout
|
|
|
|
android:id="@+id/controller_container"
|
2015-09-24 17:27:43 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-02-01 10:29:26 +01:00
|
|
|
android:layout_height="0dp"
|
2020-02-02 04:37:39 +01:00
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/view_offset"
|
2020-02-01 10:29:26 +01:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/appbar">
|
2015-09-24 17:27:43 +02:00
|
|
|
|
2020-02-01 10:29:26 +01:00
|
|
|
</com.bluelinelabs.conductor.ChangeHandlerFrameLayout>
|
|
|
|
|
2020-02-02 04:37:39 +01:00
|
|
|
<View
|
|
|
|
android:id="@+id/view_offset"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/navigationView" />
|
|
|
|
|
2020-02-01 10:29:26 +01:00
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
|
|
|
android:id="@+id/navigationView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/colorPrimary"
|
|
|
|
app:itemIconTint="@drawable/bottom_nav_item_selector"
|
|
|
|
app:itemRippleColor="@color/rippleColor"
|
2020-02-02 04:37:39 +01:00
|
|
|
app:itemTextColor="?attr/tabBarIconColor"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2020-02-01 10:29:26 +01:00
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
2020-02-02 04:37:39 +01:00
|
|
|
app:menu="@menu/bottom_navigation"
|
|
|
|
app:tabBackground="@color/rippleColor"
|
|
|
|
app:tabRippleColor="@color/rippleColor"
|
|
|
|
app:tabTextColor="?attr/tabBarIconColor" />
|
2020-02-01 10:29:26 +01:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2016-03-08 21:22:45 +01:00
|
|
|
|
2019-10-29 06:51:46 +01:00
|
|
|
<com.google.android.material.navigation.NavigationView
|
2016-03-08 21:22:45 +01:00
|
|
|
android:id="@+id/nav_view"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="start"
|
|
|
|
android:fitsSystemWindows="true"
|
2016-03-12 14:22:40 +01:00
|
|
|
android:theme="?attr/navigation_view_theme"
|
2016-03-08 21:22:45 +01:00
|
|
|
app:headerLayout="@layout/navigation_header"
|
|
|
|
app:menu="@menu/menu_navigation"/>
|
2017-05-06 15:49:39 +02:00
|
|
|
|
2019-10-29 06:51:46 +01:00
|
|
|
</androidx.drawerlayout.widget.DrawerLayout>
|
2020-01-05 21:45:00 +01:00
|
|
|
</FrameLayout>
|