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

58 lines
2.3 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2020-04-10 21:23:27 +03:00
<androidx.coordinatorlayout.widget.CoordinatorLayout 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:fitsSystemWindows="true">
2015-09-24 18:27:43 +03:00
2017-05-06 16:49:39 +03:00
<LinearLayout
2015-12-26 02:07:45 +03:00
android:layout_width="match_parent"
2020-02-22 02:43:50 +03:00
android:layout_height="match_parent"
android:orientation="vertical">
2015-12-26 02:07:45 +03:00
<eu.kanade.tachiyomi.widget.ElevationAppBarLayout
android:id="@+id/appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content">
2015-12-26 02:07:45 +03:00
<com.google.android.material.appbar.MaterialToolbar
2017-05-25 13:16:58 +03:00
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
2020-02-22 02:43:50 +03:00
android:theme="?attr/actionBarTheme" />
<com.google.android.material.tabs.TabLayout
2016-04-13 17:42:59 +03:00
android:id="@+id/tabs"
2020-03-12 02:08:57 +03:00
style="@style/Widget.MaterialComponents.TabLayout.Colored"
2016-04-13 17:42:59 +03:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-02-22 02:43:50 +03:00
app:tabGravity="center"
2020-03-15 19:56:00 +03:00
app:tabIndicator="@drawable/tab_indicator"
app:tabIndicatorFullWidth="false"
app:tabIndicatorHeight="3dp"
app:tabInlineLabel="true"
2020-02-22 02:43:50 +03:00
app:tabMinWidth="75dp"
app:tabMode="scrollable" />
2016-04-13 17:42:59 +03:00
</eu.kanade.tachiyomi.widget.ElevationAppBarLayout>
2015-09-25 13:44:11 +03:00
2017-05-06 16:49:39 +03:00
<com.bluelinelabs.conductor.ChangeHandlerFrameLayout
android:id="@+id/controller_container"
2015-09-24 18:27:43 +03:00
android:layout_width="match_parent"
2020-02-26 03:40:14 +03:00
android:layout_height="0dp"
android:layout_weight="1" />
2015-09-24 18:27:43 +03:00
2020-02-26 03:40:14 +03:00
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottom_nav"
2020-03-12 02:08:57 +03:00
style="@style/Widget.MaterialComponents.BottomNavigationView.Colored"
2020-02-26 03:40:14 +03:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
2020-02-28 02:30:51 +03:00
app:labelVisibilityMode="labeled"
2020-02-26 03:40:14 +03:00
app:menu="@menu/bottom_nav" />
2020-02-26 03:40:14 +03:00
</LinearLayout>
2017-05-06 16:49:39 +03:00
2020-04-10 21:23:27 +03:00
</androidx.coordinatorlayout.widget.CoordinatorLayout>