mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 13:23:58 +01:00
* Butterknife to ViewBinding * code cleanup and tests migrated to binding * tests fixed * adjustments and code cleanup
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">
|
|
|
|
<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">
|
|
|
|
<include
|
|
android:id="@+id/toolbarBinding"
|
|
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:layout_below="@id/toolbar"
|
|
android:background="?attr/tabBackground"
|
|
app:tabIndicatorColor="?attr/tabIndicatorColor"
|
|
app:tabMode="scrollable"
|
|
app:tabSelectedTextColor="?attr/tabSelectedTextColor"
|
|
app:tabTextColor="?attr/tabTextColor" />
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/mediaContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@id/toolbar_layout"
|
|
android:orientation="horizontal"
|
|
android:visibility="gone" />
|
|
|
|
<androidx.viewpager.widget.ViewPager
|
|
android:id="@+id/viewPager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@id/toolbar_layout" />
|
|
</RelativeLayout>
|
|
|
|
</androidx.drawerlayout.widget.DrawerLayout>
|