Swipe task left to mark as done

Swipe task right to mark as nexted (increase cycle count)
Handles confirmation dialog (with settings)
Re-add floating add task button
Disable scrolling horizontally (except on the first task) and vertically
This commit is contained in:
2015-12-09 21:03:05 -05:00
parent 982ed80a20
commit 322c706f3d
17 changed files with 589 additions and 60 deletions

View File

@@ -30,10 +30,18 @@
</android.support.design.widget.AppBarLayout>
<android.support.v4.view.ViewPager
<com.wismna.geoffroy.donext.widgets.NonSwipeableViewPager
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
<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"
android:src="@android:drawable/ic_input_add" />
</android.support.design.widget.CoordinatorLayout>