This repository has been archived on 2024-06-08. You can view files and clone it, but cannot push or open issues or pull requests.
tachiyomi/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-02-21 18:43:50 -05:00
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
2015-12-30 08:10:31 -05:00
xmlns:app="http://schemas.android.com/apk/res-auto"
2020-02-21 18:43:50 -05:00
android:id="@+id/drawer"
2015-09-24 11:27:43 -04:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true">
2015-09-24 11:27:43 -04:00
2017-05-06 09:49:39 -04:00
<LinearLayout
2015-12-25 18:07:45 -05:00
android:layout_width="match_parent"
2020-02-21 18:43:50 -05:00
android:layout_height="match_parent"
android:orientation="vertical">
2015-12-25 18:07:45 -05:00
<eu.kanade.tachiyomi.widget.ElevationAppBarLayout
android:id="@+id/appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content">
2015-12-25 18:07:45 -05:00
<androidx.appcompat.widget.Toolbar
2017-05-25 06:16:58 -04:00
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
2020-02-21 18:43:50 -05:00
android:theme="?attr/actionBarTheme" />
<com.google.android.material.tabs.TabLayout
2016-04-13 10:42:59 -04:00
android:id="@+id/tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/Theme.ActionBar.Tab"
2020-02-21 18:43:50 -05:00
app:tabGravity="center"
2016-04-13 10:42:59 -04:00
app:tabIndicatorColor="@android:color/white"
app:tabInlineLabel="true"
2020-02-21 18:43:50 -05:00
app:tabMinWidth="75dp"
app:tabMode="scrollable" />
2016-04-13 10:42:59 -04:00
</eu.kanade.tachiyomi.widget.ElevationAppBarLayout>
2015-09-25 06:44:11 -04:00
2017-05-06 09:49:39 -04:00
<com.bluelinelabs.conductor.ChangeHandlerFrameLayout
android:id="@+id/controller_container"
2015-09-24 11:27:43 -04:00
android:layout_width="match_parent"
2020-02-25 19:40:14 -05:00
android:layout_height="0dp"
android:layout_weight="1" />
2015-09-24 11:27:43 -04:00
2020-02-25 19:40:14 -05:00
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottom_nav"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:background="?attr/colorPrimary"
app:itemIconTint="@drawable/bottom_nav_item_selector"
app:itemTextColor="@drawable/bottom_nav_item_selector"
app:menu="@menu/bottom_nav" />
2020-02-25 19:40:14 -05:00
</LinearLayout>
2017-05-06 09:49:39 -04:00
</androidx.drawerlayout.widget.DrawerLayout>