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

54 lines
2.2 KiB
XML
Raw Normal View History

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