47 lines
1.6 KiB
XML
47 lines
1.6 KiB
XML
<RelativeLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/main_layout"
|
|
android:background="@color/bg_report"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context=".ProfileActivity">
|
|
|
|
<include
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
layout="@layout/layout_toolbar_col"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_centerHorizontal="true" />
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/layoutHeader"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/toolbar"
|
|
android:layout_marginBottom="0dp"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
android:id="@+id/tab_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/colorPrimary"
|
|
android:elevation="4dp"
|
|
android:minHeight="?attr/actionBarSize"
|
|
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" />
|
|
|
|
<androidx.viewpager.widget.ViewPager
|
|
android:id="@+id/pager"
|
|
android:layout_below="@+id/tab_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout>
|