diff --git a/src/main/res/layout/layout_global_settings.xml b/src/main/res/layout/layout_global_settings.xml index 9a44c366..38261be2 100644 --- a/src/main/res/layout/layout_global_settings.xml +++ b/src/main/res/layout/layout_global_settings.xml @@ -4,10 +4,6 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - + android:layout_above="@+id/snackbar"> + diff --git a/src/main/res/layout/layout_profile_config.xml b/src/main/res/layout/layout_profile_config.xml index c4980567..62b2ba58 100644 --- a/src/main/res/layout/layout_profile_config.xml +++ b/src/main/res/layout/layout_profile_config.xml @@ -4,10 +4,6 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - - i }.getOrElse(-1)) - undoManager = new UndoSnackbarManager[Profile](view.findViewById(R.id.snackbar), profilesAdapter.undo, profilesAdapter.commit) + undoManager = new UndoSnackbarManager[Profile](getActivity.findViewById(R.id.snackbar), profilesAdapter.undo, profilesAdapter.commit) new ItemTouchHelper(new SimpleCallback(ItemTouchHelper.UP | ItemTouchHelper.DOWN, ItemTouchHelper.START | ItemTouchHelper.END) { def onSwiped(viewHolder: ViewHolder, direction: Int) {