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

51 lines
2 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2015-12-30 16:10:31 +03:00
xmlns:app="http://schemas.android.com/apk/res-auto"
2015-09-24 18:27:43 +03:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
2015-09-24 18:27:43 +03:00
<eu.kanade.tachiyomi.widget.ElevationAppBarLayout
android:id="@+id/appbar"
2015-12-26 02:07:45 +03:00
android:layout_width="match_parent"
android:layout_height="wrap_content">
2015-12-26 02:07:45 +03: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"
android:theme="?attr/actionBarTheme" />
2015-12-26 02:07:45 +03:00
<com.google.android.material.tabs.TabLayout
android:id="@+id/tabs"
style="@style/Widget.MaterialComponents.TabLayout.Colored"
2020-02-26 03:40:14 +03:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:tabGravity="center"
app:tabIndicator="@drawable/tab_indicator"
app:tabIndicatorFullWidth="false"
app:tabIndicatorHeight="3dp"
app:tabInlineLabel="true"
app:tabMinWidth="75dp"
app:tabMode="scrollable" />
</eu.kanade.tachiyomi.widget.ElevationAppBarLayout>
<com.bluelinelabs.conductor.ChangeHandlerFrameLayout
android:id="@+id/controller_container"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" />
<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:labelVisibilityMode="labeled"
app:menu="@menu/bottom_nav" />
2017-05-06 16:49:39 +03:00
</LinearLayout>