Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context=".ui.fragments.myprofile.MyProfileFragment">
- <android.support.constraint.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <android.support.design.widget.TabLayout
- android:id="@+id/tabs"
- android:layout_width="368dp"
- android:layout_height="wrap_content"
- app:layout_constraintBottom_toTopOf="@+id/guideline_top"
- app:layout_constraintHorizontal_bias="0.4"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:tabIndicatorColor="@android:color/white"
- app:tabIndicatorHeight="6dp"
- app:tabSelectedTextColor="@android:color/white"
- app:tabTextColor="@android:color/white"/>
- <android.support.v4.view.ViewPager
- android:id="@+id/vp_tabs"
- android:layout_width="0dp"
- android:layout_height="0dp"
- app:layout_behavior="@string/appbar_scrolling_view_behavior"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"
- android:layout_marginEnd="8dp"
- app:layout_constraintTop_toTopOf="@+id/guideline_top"
- android:layout_marginTop="0dp"/>
- <android.support.constraint.Guideline
- android:id="@+id/guideline_top"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- app:layout_constraintGuide_percent="0.1"
- tools:layout_editor_absoluteX="0dp"
- tools:layout_editor_absoluteY="132dp"/>
- <FrameLayout
- android:id="@+id/container"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:layout_marginEnd="8dp"
- android:layout_marginRight="8dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintHorizontal_bias="1.0"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="@+id/guideline_top"
- app:layout_constraintVertical_bias="0.0">
- </FrameLayout>
- </android.support.constraint.ConstraintLayout>
- </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement