2016-08-21 13:29:42 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2016-09-01 15:42:26 +00:00
|
|
|
<android.support.design.widget.CoordinatorLayout
|
|
|
|
android:id="@+id/main_content"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
2016-08-21 13:29:42 +00:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2016-09-01 15:42:26 +00:00
|
|
|
android:id="@+id/llayout"
|
2016-08-21 13:29:42 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginTop="?attr/actionBarSize"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2016-08-21 14:42:50 +00:00
|
|
|
<android.support.design.widget.TabLayout
|
|
|
|
android:id="@+id/tab_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/colorPrimary"
|
|
|
|
android:elevation="4dp"
|
|
|
|
android:minHeight="?attr/actionBarSize"
|
|
|
|
app:tabGravity="fill"
|
|
|
|
app:tabIndicatorColor="?attr/colorAccent"
|
|
|
|
app:tabMode="fixed"
|
|
|
|
app:tabTextAppearance="@style/TextAppearance.Design.Tab"/>
|
|
|
|
|
2016-08-21 14:08:45 +00:00
|
|
|
<ProgressBar
|
2016-08-21 14:42:50 +00:00
|
|
|
android:id="@+id/progressBar"
|
2016-08-21 14:08:45 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"/>
|
|
|
|
|
2016-08-21 14:42:50 +00:00
|
|
|
<android.support.v4.view.ViewPager
|
|
|
|
android:id="@+id/pager"
|
2016-08-21 13:29:42 +00:00
|
|
|
android:layout_width="match_parent"
|
2016-09-01 15:42:26 +00:00
|
|
|
android:layout_height="match_parent" />
|
2016-08-21 13:29:42 +00:00
|
|
|
|
2016-09-01 15:42:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<android.support.design.widget.FloatingActionButton
|
|
|
|
android:id="@+id/fab"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="right"
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
android:clickable="true"
|
|
|
|
app:layout_anchor="@id/llayout"
|
|
|
|
android:src="@drawable/ic_add"
|
|
|
|
app:layout_anchorGravity="bottom|right|end"
|
|
|
|
/>
|
|
|
|
</android.support.design.widget.CoordinatorLayout>
|