2016-08-29 12:50:41 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2016-12-12 17:52:01 +00:00
|
|
|
<android.support.design.widget.CoordinatorLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2016-08-29 12:50:41 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2016-12-12 17:52:01 +00:00
|
|
|
android:id="@+id/main_content"
|
2016-08-29 12:50:41 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
tools:context="org.y20k.trackbook.MainActivity">
|
|
|
|
|
|
|
|
<android.support.design.widget.AppBarLayout
|
2016-12-12 17:52:01 +00:00
|
|
|
android:id="@+id/appbar"
|
2016-08-29 12:50:41 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-12-12 17:52:01 +00:00
|
|
|
android:paddingTop="@dimen/appbar_padding_top"
|
2016-08-29 12:50:41 +00:00
|
|
|
android:theme="@style/TrackbookAppTheme.AppBarOverlay">
|
|
|
|
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:background="?attr/colorPrimary"
|
2016-12-12 17:52:01 +00:00
|
|
|
app:layout_scrollFlags="scroll|enterAlways"
|
|
|
|
app:popupTheme="@style/TrackbookAppTheme.PopupOverlay">
|
|
|
|
|
|
|
|
</android.support.v7.widget.Toolbar>
|
|
|
|
|
|
|
|
<android.support.design.widget.TabLayout
|
|
|
|
android:id="@+id/tabs"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:tabMaxWidth="0dp"
|
|
|
|
app:tabGravity="fill"
|
|
|
|
app:tabMode="fixed" />
|
2016-08-29 12:50:41 +00:00
|
|
|
|
|
|
|
</android.support.design.widget.AppBarLayout>
|
|
|
|
|
2016-09-16 15:45:10 +00:00
|
|
|
|
2016-12-19 16:53:20 +00:00
|
|
|
<org.y20k.trackbook.layout.NonSwipeableViewPager
|
2016-12-12 17:52:01 +00:00
|
|
|
android:id="@+id/container"
|
2016-09-16 15:45:10 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2016-12-12 17:52:01 +00:00
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
|
|
|
<!-- MainActivityMapFragment and MainActivityTrackFragment are included at runtime -->
|
|
|
|
|
2016-09-16 15:45:10 +00:00
|
|
|
|
2016-12-12 17:52:01 +00:00
|
|
|
<include layout="@layout/floating_action_button" />
|
2016-08-29 12:50:41 +00:00
|
|
|
|
2016-12-12 17:52:01 +00:00
|
|
|
<!-- <android.support.design.widget.FloatingActionButton
|
2016-08-29 12:50:41 +00:00
|
|
|
android:id="@+id/fab"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|end"
|
|
|
|
android:layout_margin="@dimen/fab_margin"
|
|
|
|
app:srcCompat="@drawable/ic_fiber_manual_record_white_24dp"
|
2016-12-12 17:52:01 +00:00
|
|
|
app:fabSize="auto"/> -->
|
2016-08-29 12:50:41 +00:00
|
|
|
|
2016-12-12 17:52:01 +00:00
|
|
|
</android.support.design.widget.CoordinatorLayout>
|