mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-16 01:45:09 +01:00
92 lines
4.0 KiB
XML
92 lines
4.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout 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/main_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<com.bluelinelabs.conductor.ChangeHandlerFrameLayout
|
|
android:id="@+id/controller_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintVertical_bias="1.0">
|
|
|
|
</com.bluelinelabs.conductor.ChangeHandlerFrameLayout>
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@+id/app_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/colorSecondary"
|
|
android:stateListAnimator="@null"
|
|
android:theme="?attr/actionBarTheme"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<eu.kanade.tachiyomi.ui.base.CenteredToolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:background="?attr/colorSecondary">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/title_layout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:orientation="horizontal">
|
|
|
|
<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:drawableTint="?actionBarTintColor"
|
|
android:ellipsize="end"
|
|
android:gravity="start"
|
|
android:maxLines="1"
|
|
android:textColor="?actionBarTintColor"
|
|
android:textSize="20sp"
|
|
tools:drawableEnd="@drawable/ic_arrow_drop_down_24dp"
|
|
tools:drawableStart="@drawable/ic_blank_24dp"
|
|
tools:text="Title Text" />
|
|
</LinearLayout>
|
|
</eu.kanade.tachiyomi.ui.base.CenteredToolbar>
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<View
|
|
android:id="@+id/bottom_view"
|
|
android:clickable="true"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
android:layout_width="match_parent"
|
|
android:visibility="gone"
|
|
android:layout_height="0dp"
|
|
tools:ignore="KeyboardInaccessibleWidget" />
|
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
|
android:id="@+id/bottom_nav"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?colorPrimaryVariant"
|
|
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:tabRippleColor="@color/rippleColor"
|
|
app:tabTextColor="?attr/tabBarIconColor" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|