mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
50 lines
No EOL
2 KiB
XML
50 lines
No EOL
2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/drawer_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<include layout="@layout/toolbar"/>
|
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
android:id="@+id/tab_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/tabBackground"
|
|
app:layout_constraintTop_toBottomOf="@id/toolbar"
|
|
app:tabIndicatorColor="?attr/tabIndicatorColor"
|
|
app:tabMode="fixed"
|
|
app:tabSelectedTextColor="?attr/tabSelectedTextColor"
|
|
app:tabTextColor="?attr/tabTextColor" />
|
|
|
|
<androidx.viewpager.widget.ViewPager
|
|
android:id="@+id/viewPagerBookmarks"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/tab_layout" />
|
|
|
|
<FrameLayout
|
|
android:id="@+id/fragmentContainer"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:orientation="horizontal"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/toolbar"/>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
<include layout="@layout/drawer_view" />
|
|
|
|
</androidx.drawerlayout.widget.DrawerLayout> |