Author: Adam Pioterek <adam.pioterek@protonmail.ch>
skip button in NoDb
app/src/main/res/layout/activity_nodb.xml | 15 ++++++++++++++-
diff --git a/app/src/main/res/layout/activity_nodb.xml b/app/src/main/res/layout/activity_nodb.xml index e34a2552f1412a7a26afa1e361629cc5e0ab92a6..01276425a1dac205ce4596cae2aa724229a79701 100644 --- a/app/src/main/res/layout/activity_nodb.xml +++ b/app/src/main/res/layout/activity_nodb.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <FrameLayout 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:layout_width="match_parent" android:layout_height="match_parent"> @@ -34,5 +33,19 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.4" /> + + <android.support.design.widget.FloatingActionButton + android:id="@+id/skip_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginBottom="16dp" + android:layout_marginEnd="16dp" + android:clickable="true" + android:focusable="true" + app:fabSize="normal" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:srcCompat="@drawable/ic_skip" /> + </android.support.constraint.ConstraintLayout> </FrameLayout>