Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.86 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    android:orientation="vertical"
  5.    xmlns:tools="http://schemas.android.com/tools"
  6.    android:layout_width="match_parent"
  7.    android:layout_height="match_parent"
  8.    tools:context=".MainActivity">
  9.  
  10.     <androidx.support.design.widget.TabLayout
  11.        android:id="@+id/sliding_tabs"
  12.        android:layout_width="match_parent"
  13.        android:layout_height="wrap_content"
  14.        app:tabMode="fixed"
  15.        />
  16.  
  17.     <androidx.support.v4.view.ViewPager
  18.        android:id="@+id/viewpager"
  19.        android:layout_width="match_parent"
  20.        android:layout_height="0px"
  21.        android:layout_weight="1"
  22.        android:background="@android:color/white"
  23.        />
  24.  
  25. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement