tachiyomi/app/src/main/res/layout/main_activity.xml

92 lines
4.0 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<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"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/main_content"
2015-09-24 17:27:43 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
2015-09-24 17:27:43 +02:00
<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>
2020-03-16 06:50:20 +01:00
<com.google.android.material.appbar.AppBarLayout
2021-03-29 04:24:52 +02:00
android:id="@+id/app_bar"
2015-12-26 00:07:45 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-03-23 22:18:18 +01:00
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">
2015-09-25 12:44:11 +02:00
<eu.kanade.tachiyomi.ui.base.CenteredToolbar
android:id="@+id/toolbar"
2015-09-24 17:27:43 +02:00
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
2020-03-23 22:18:18 +01:00
android:background="?attr/colorSecondary">
<LinearLayout
android:id="@+id/title_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
2020-03-23 22:18:18 +01:00
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>
2020-03-16 06:50:20 +01:00
</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"
2021-03-26 02:52:20 +01:00
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"
2020-03-23 22:18:18 +01:00
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>