Keep the switching button on the same part of the screen.

This commit is contained in:
kenkeiras 2017-07-13 23:28:06 -04:00
parent fe0794632d
commit 19d01f3c24

View File

@ -84,14 +84,6 @@
fab:fab_labelStyle="@style/menu_labels_style" fab:fab_labelStyle="@style/menu_labels_style"
fab:fab_labelsPosition="left"> fab:fab_labelsPosition="left">
<com.getbase.floatingactionbutton.FloatingActionButton
android:id="@+id/set_user_mode_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
fab:fab_colorNormal="@color/white"
fab:fab_title="Go to user mode"
fab:fab_colorPressed="@color/white_pressed"/>
<com.getbase.floatingactionbutton.AddFloatingActionButton <com.getbase.floatingactionbutton.AddFloatingActionButton
android:id="@+id/add_part_button" android:id="@+id/add_part_button"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -101,6 +93,14 @@
fab:fab_title="Add new part" fab:fab_title="Add new part"
fab:fab_colorPressed="@color/white_pressed"/> fab:fab_colorPressed="@color/white_pressed"/>
<com.getbase.floatingactionbutton.FloatingActionButton
android:id="@+id/set_user_mode_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
fab:fab_colorNormal="@color/white"
fab:fab_title="Go to user mode"
fab:fab_colorPressed="@color/white_pressed"/>
</com.getbase.floatingactionbutton.FloatingActionsMenu> </com.getbase.floatingactionbutton.FloatingActionsMenu>
</android.support.design.widget.CoordinatorLayout> </android.support.design.widget.CoordinatorLayout>