Advertisement
Guest User

Untitled

a guest
Nov 17th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.24 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.     xmlns:app="http://schemas.android.com/apk/res-auto"
  4.     android:layout_width="match_parent"
  5.     android:layout_height="wrap_content"
  6.     android:orientation="vertical">
  7.  
  8.     <include
  9.         android:id="@+id/layout_inc_1"
  10.         layout="@layout/fragment_factory_header"
  11.         android:layout_width="match_parent"
  12.         android:layout_height="wrap_content" />
  13.  
  14.     <com.google.android.material.tabs.TabLayout
  15.         android:layout_below="@+id/layout_inc_1"
  16.         android:id="@+id/tabLayout_php"
  17.         android:layout_width="match_parent"
  18.         android:layout_height="wrap_content"
  19.         android:layout_marginTop="100dp"
  20.         android:minHeight="?actionBarSize"
  21.         app:tabBackground="@color/color_tab"
  22.         app:tabGravity="fill"
  23.         app:tabIndicatorColor="@color/color_second"
  24.         app:tabIndicatorHeight="2dp"
  25.         app:tabMode="fixed" />
  26.  
  27.     <androidx.viewpager.widget.ViewPager
  28.         android:layout_below="@+id/tabLayout_php"
  29.         android:id="@+id/viewPager_php"
  30.         android:layout_width="wrap_content"
  31.         android:layout_height="match_parent" />
  32.  
  33. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement