<?xml version="1.0" encoding="utf-8"?>
|
<android.support.constraint.ConstraintLayout 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"
|
xmlns:tools="http://schemas.android.com/tools"
|
android:theme="@style/AppTheme.NoActionBar"
|
tools:context=".dataanalysis.AnalysisTabActivity">
|
|
<include
|
android:id="@+id/toolbar"
|
layout="@layout/layout_toolbar" />
|
|
<android.support.design.widget.TabLayout
|
android:id="@+id/tabLayout"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@color/colorPrimaryLight"
|
app:layout_constraintTop_toBottomOf="@id/toolbar">
|
|
</android.support.design.widget.TabLayout>
|
|
<android.support.v4.view.ViewPager
|
android:id="@+id/viewPager"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
app:layout_constrainedHeight="true"
|
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintTop_toBottomOf="@id/tabLayout">
|
</android.support.v4.view.ViewPager>
|
|
</android.support.constraint.ConstraintLayout>
|