<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/white" android:orientation="vertical"> <View android:id="@+id/statusBarView" android:layout_width="match_parent" android:layout_height="0dp" android:background="@color/white" /> <include android:id="@+id/top" layout="@layout/include_detection_top_layout" /> <LinearLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" android:background="@color/mainBackground" android:orientation="vertical"> <com.google.android.material.tabs.TabLayout android:id="@+id/topTabLayout" android:layout_width="match_parent" android:layout_height="wrap_content" app:tabIndicatorColor="@color/themeColor" app:tabIndicatorFullWidth="false" app:tabIndicatorHeight="3dp" app:tabSelectedTextColor="@color/black" /> <androidx.viewpager.widget.ViewPager android:id="@+id/detectionViewPager" android:layout_width="match_parent" android:layout_height="match_parent" /> </LinearLayout> </LinearLayout>