activity_main.xml 1.27 KB
Newer Older
Robert Hitt's avatar
Robert Hitt committed
1
<?xml version="1.0" encoding="utf-8"?>
Robert Hitt's avatar
Robert Hitt committed
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              xmlns:tools="http://schemas.android.com/tools"
              xmlns:app="http://schemas.android.com/apk/res-auto"
              android:id="@+id/fragment_facility"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:fitsSystemWindows="true"
              android:orientation="vertical"
              tools:context="srct.whatsopen.ui.activities.MainActivity">

    <include
        layout="@layout/toolbar_main"
        android:layout_height="wrap_content"
        android:layout_width="match_parent"/>
Robert Hitt's avatar
Robert Hitt committed
16

Robert Hitt's avatar
Robert Hitt committed
17
18
19
    <com.astuetz.PagerSlidingTabStrip
        android:id="@+id/tabs"
        app:pstsShouldExpand="true"
20
21
        app:pstsIndicatorColor="@color/colorPrimary"
        app:pstsIndicatorHeight="6dp"
22
        app:pstsTabBackground="@drawable/button_bg"
Robert Hitt's avatar
Robert Hitt committed
23
        android:layout_width="match_parent"
Robert Hitt's avatar
Robert Hitt committed
24
        android:layout_height="48dp"/>
Robert Hitt's avatar
Robert Hitt committed
25

Robert Hitt's avatar
Robert Hitt committed
26
27
28
29
30
31
32
    <android.support.v4.view.ViewPager
        android:id="@+id/view_pager"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@android:color/white"/>

</LinearLayout>