2015-11-24 11:23:31 -05:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/main_content"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:fitsSystemWindows="true"
|
2015-11-26 18:31:26 -05:00
|
|
|
tools:context=".activities.MainActivity">
|
2015-11-24 11:23:31 -05:00
|
|
|
|
|
|
|
<android.support.design.widget.AppBarLayout
|
|
|
|
android:id="@+id/appbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingTop="@dimen/appbar_padding_top"
|
|
|
|
android:theme="@style/AppTheme.AppBarOverlay">
|
2017-03-17 13:44:54 -04:00
|
|
|
<include layout="@layout/toolbar" android:id="@+id/toolbar" />
|
2015-11-24 11:23:31 -05:00
|
|
|
|
2016-01-25 17:42:14 -05:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/left_arrow"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:contentDescription="@string/tab_left_arrow"
|
|
|
|
android:src="@drawable/ic_keyboard_arrow_left_white_24dp" />
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/right_arrow"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:contentDescription="@string/tab_right_arrow"
|
|
|
|
android:src="@drawable/ic_keyboard_arrow_right_white_24dp" />
|
|
|
|
<android.support.design.widget.TabLayout
|
|
|
|
android:id="@+id/tabs"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-02-04 19:12:53 -05:00
|
|
|
android:layout_toEndOf="@+id/left_arrow"
|
|
|
|
android:layout_toStartOf="@+id/right_arrow"
|
2016-01-25 17:42:14 -05:00
|
|
|
app:tabMode="scrollable" />
|
|
|
|
</RelativeLayout>
|
2015-11-24 11:23:31 -05:00
|
|
|
</android.support.design.widget.AppBarLayout>
|
|
|
|
|
2015-12-09 21:03:05 -05:00
|
|
|
<com.wismna.geoffroy.donext.widgets.NonSwipeableViewPager
|
2015-11-24 11:23:31 -05:00
|
|
|
android:id="@+id/container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
|
|
|
|
2017-03-22 17:38:59 -04:00
|
|
|
<android.support.design.widget.FloatingActionButton
|
|
|
|
android:id="@+id/fab"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end|bottom"
|
|
|
|
android:layout_margin="@dimen/fab_margin"
|
|
|
|
android:onClick="onNewTaskClick"
|
2017-03-23 17:55:38 -04:00
|
|
|
android:src="@drawable/ic_add" />
|
2017-03-22 17:38:59 -04:00
|
|
|
|
2015-11-24 11:23:31 -05:00
|
|
|
</android.support.design.widget.CoordinatorLayout>
|