2016-03-08 21:22:45 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-03-02 11:18:48 +01:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout 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-03-02 11:18:48 +01:00
|
|
|
android:id="@+id/main_content"
|
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-03-02 11:18:48 +01:00
|
|
|
android:orientation="vertical">
|
2015-09-24 17:27:43 +02:00
|
|
|
|
2020-03-04 05:31:17 +01:00
|
|
|
<com.bluelinelabs.conductor.ChangeHandlerFrameLayout
|
|
|
|
android:id="@+id/controller_container"
|
|
|
|
android:layout_width="match_parent"
|
2020-03-08 03:14:09 +01:00
|
|
|
android:layout_height="match_parent"
|
2020-03-05 07:56:26 +01:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2020-03-08 03:14:09 +01:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintHorizontal_bias="0.0"
|
2020-03-04 05:31:17 +01:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2020-03-08 03:14:09 +01:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintVertical_bias="1.0">
|
2020-03-04 05:31:17 +01:00
|
|
|
|
|
|
|
</com.bluelinelabs.conductor.ChangeHandlerFrameLayout>
|
|
|
|
|
2020-03-02 11:18:48 +01:00
|
|
|
<eu.kanade.tachiyomi.widget.ElevationAppBarLayout
|
|
|
|
android:id="@+id/appbar"
|
2015-12-26 00:07:45 +01:00
|
|
|
android:layout_width="match_parent"
|
2020-03-02 11:18:48 +01:00
|
|
|
android:layout_height="wrap_content"
|
2020-03-08 03:14:09 +01:00
|
|
|
android:background="?android:attr/colorBackground"
|
|
|
|
android:stateListAnimator="@null"
|
2020-03-02 11:18:48 +01:00
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
2015-09-25 12:44:11 +02:00
|
|
|
|
2020-03-08 03:14:09 +01:00
|
|
|
<eu.kanade.tachiyomi.ui.base.CenteredToolbar
|
2020-03-02 11:18:48 +01:00
|
|
|
android:id="@+id/toolbar"
|
2015-09-24 17:27:43 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-03-02 11:18:48 +01:00
|
|
|
android:layout_height="?attr/actionBarSize"
|
2020-03-08 03:14:09 +01:00
|
|
|
android:background="?android:attr/colorBackground">
|
|
|
|
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
android:id="@+id/toolbar_title"
|
|
|
|
style="@style/TextAppearance.AppCompat.Widget.ActionBar.Title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:gravity="start"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:text="@string/label_library"
|
|
|
|
android:textColor="?actionBarTintColor"
|
|
|
|
android:textSize="20sp"
|
|
|
|
app:fontFamily="@font/roboto_medium" />
|
|
|
|
</eu.kanade.tachiyomi.ui.base.CenteredToolbar>
|
2020-02-01 10:29:26 +01:00
|
|
|
|
2020-03-02 11:18:48 +01:00
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
|
|
android:id="@+id/tabs"
|
|
|
|
android:visibility="gone"
|
2020-02-01 10:29:26 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-03-02 11:18:48 +01:00
|
|
|
android:background="?colorPrimary"
|
|
|
|
android:theme="@style/Theme.ActionBar.Tab"
|
|
|
|
app:tabGravity="center"
|
|
|
|
app:tabIndicatorColor="?attr/actionBarTintColor"
|
|
|
|
app:tabInlineLabel="true"
|
|
|
|
app:tabMinWidth="75dp"
|
|
|
|
app:tabMode="auto"
|
2020-02-02 04:37:39 +01:00
|
|
|
app:tabRippleColor="@color/rippleColor"
|
2020-03-02 11:18:48 +01:00
|
|
|
app:tabTextColor="?attr/actionBarTintColor" />
|
|
|
|
|
|
|
|
</eu.kanade.tachiyomi.widget.ElevationAppBarLayout>
|
2016-03-08 21:22:45 +01:00
|
|
|
|
2020-03-02 11:18:48 +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"
|
|
|
|
app:itemTextColor="@drawable/bottom_nav_item_selector"
|
|
|
|
app:labelVisibilityMode="labeled"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
|
app:menu="@menu/bottom_navigation"
|
|
|
|
app:tabBackground="@color/rippleColor"
|
|
|
|
app:tabRippleColor="@color/rippleColor"
|
|
|
|
app:tabTextColor="?attr/tabBarIconColor" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|