mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 05:13:53 +01:00
* Butterknife to ViewBinding * code fix to pass all tests * code cleanup and tests migrated to binding * fix LoD
49 lines
2 KiB
XML
49 lines
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">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<include
|
|
android:id="@+id/toolbarBinding"
|
|
layout="@layout/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@+id/toolbar_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/mainBackground">
|
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
android:id="@+id/tab_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/toolbar"
|
|
android:background="?attr/tabBackground"
|
|
app:tabIndicatorColor="?attr/tabIndicatorColor"
|
|
app:tabMode="fixed"
|
|
app:tabSelectedTextColor="?attr/tabSelectedTextColor"
|
|
app:tabTextColor="?attr/tabTextColor" />
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<fr.free.nrw.commons.explore.ParentViewPager
|
|
android:id="@+id/viewPager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@id/toolbar_layout" />
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
|
|
</androidx.drawerlayout.widget.DrawerLayout>
|