Experiment with basic dev mode context.
This commit is contained in:
parent
5e583bed05
commit
fe0794632d
6 changed files with 93 additions and 13 deletions
|
@ -40,7 +40,7 @@
|
|||
app:srcCompat="@android:drawable/ic_delete" />
|
||||
|
||||
<com.getbase.floatingactionbutton.FloatingActionsMenu
|
||||
android:id="@+id/fab"
|
||||
android:id="@+id/user_mode_fab"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
|
@ -62,7 +62,34 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
fab:fab_colorNormal="@color/white"
|
||||
fab:fab_title="TBI: change to develop mode"
|
||||
fab:fab_title="Go to develop mode"
|
||||
fab:fab_colorPressed="@color/white_pressed"/>
|
||||
</com.getbase.floatingactionbutton.FloatingActionsMenu>
|
||||
|
||||
<com.getbase.floatingactionbutton.FloatingActionsMenu
|
||||
android:id="@+id/dev_mode_fab"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_marginRight="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:layout_gravity="bottom|end"
|
||||
fab:fab_addButtonColorNormal="@color/white"
|
||||
fab:fab_addButtonColorPressed="@color/white_pressed"
|
||||
fab:fab_addButtonPlusIconColor="@color/half_black"
|
||||
fab:fab_addButtonSize="mini"
|
||||
fab:fab_labelStyle="@style/menu_labels_style"
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue