Created
December 27, 2016 10:23
-
-
Save mduisenov/ace76f3919e0d8d9fd95362240cf65ce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:id="@+id/mainLayout" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<include | |
android:id="@+id/emptyLayout" | |
layout="@layout/layout_empty"/> | |
<android.support.design.widget.CoordinatorLayout | |
android:id="@+id/pager_layout" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:layout_below="@+id/emptyLayout"> | |
<android.support.design.widget.AppBarLayout | |
android:id="@+id/tab_appbar" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:background="@color/reservation_state_new_bg"> | |
<android.support.design.widget.TabLayout | |
android:id="@+id/tabs" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
app:layout_behavior="@string/appbar_scrolling_view_behavior" | |
app:layout_scrollFlags="enterAlways|scroll" | |
app:tabGravity="fill" | |
app:tabIndicatorColor="@android:color/white" | |
app:tabMode="fixed" | |
app:tabSelectedTextColor="@android:color/white" | |
app:tabTextColor="@color/textColorHint" /> | |
</android.support.design.widget.AppBarLayout> | |
<android.support.v4.view.ViewPager | |
android:id="@+id/viewPager" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:layout_below="@+id/pager_layout" | |
app:layout_behavior="@string/appbar_scrolling_view_behavior" /> | |
</android.support.design.widget.CoordinatorLayout> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment