2016-03-03 17:46:31 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:fab="http://schemas.android.com/apk/res-auto"
|
2016-03-26 01:14:17 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2016-03-03 17:46:31 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:fitsSystemWindows="true"
|
2016-03-25 23:24:45 +01:00
|
|
|
tools:context="de.dfa.myapplication.MainActivity">
|
2016-03-03 17:46:31 +01:00
|
|
|
|
|
|
|
<android.support.design.widget.AppBarLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:theme="@style/AppTheme.AppBarOverlay">
|
|
|
|
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:background="?attr/colorPrimary"
|
|
|
|
app:popupTheme="@style/AppTheme.PopupOverlay" />
|
|
|
|
|
|
|
|
</android.support.design.widget.AppBarLayout>
|
|
|
|
|
|
|
|
<include layout="@layout/content_main" />
|
|
|
|
|
|
|
|
<com.getbase.floatingactionbutton.FloatingActionsMenu
|
2016-03-25 00:12:00 +01:00
|
|
|
android:id="@+id/fab_menubutton"
|
2016-03-03 17:46:31 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|end"
|
|
|
|
android:layout_marginBottom="4dp"
|
2016-03-23 22:26:23 +01:00
|
|
|
android:layout_marginEnd="8dp"
|
2016-03-26 01:14:17 +01:00
|
|
|
android:layout_marginRight="8dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_behavior="de.dfa.diaspora_android.ui.FloatingActionsMenuBehavior"
|
|
|
|
fab:fab_addButtonColorNormal="@color/fab_big"
|
|
|
|
fab:fab_addButtonColorPressed="@color/fab_big_pressed"
|
|
|
|
fab:fab_addButtonPlusIconColor="@color/white"
|
|
|
|
fab:fab_labelStyle="@style/menu_labels_style">
|
2016-03-03 17:46:31 +01:00
|
|
|
|
|
|
|
<com.getbase.floatingactionbutton.FloatingActionButton
|
|
|
|
android:id="@+id/fab_top"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:onClick="fab3_click"
|
|
|
|
fab:fab_colorNormal="@color/fab_small"
|
|
|
|
fab:fab_colorPressed="@color/fab_small_pressed"
|
2016-03-26 01:14:17 +01:00
|
|
|
fab:fab_icon="@drawable/fab_top"
|
2016-03-03 17:46:31 +01:00
|
|
|
fab:fab_labelStyle="@style/menu_labels_style"
|
2016-03-26 01:14:17 +01:00
|
|
|
fab:fab_size="mini"
|
|
|
|
fab:fab_title="@string/fab3_title" />
|
2016-03-03 17:46:31 +01:00
|
|
|
|
|
|
|
<com.getbase.floatingactionbutton.FloatingActionButton
|
|
|
|
android:id="@+id/fab_search"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:onClick="fab2_click"
|
|
|
|
fab:fab_colorNormal="@color/fab_small"
|
|
|
|
fab:fab_colorPressed="@color/fab_small_pressed"
|
2016-03-26 01:14:17 +01:00
|
|
|
fab:fab_icon="@drawable/fab_search"
|
2016-03-03 17:46:31 +01:00
|
|
|
fab:fab_labelStyle="@style/menu_labels_style"
|
2016-03-26 01:14:17 +01:00
|
|
|
fab:fab_size="mini"
|
|
|
|
fab:fab_title="@string/fab2_title" />
|
2016-03-03 17:46:31 +01:00
|
|
|
|
|
|
|
<com.getbase.floatingactionbutton.FloatingActionButton
|
|
|
|
android:id="@+id/fab_compose"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:onClick="fab1_click"
|
|
|
|
fab:fab_colorNormal="@color/fab_small"
|
|
|
|
fab:fab_colorPressed="@color/fab_small_pressed"
|
2016-03-26 01:14:17 +01:00
|
|
|
fab:fab_icon="@drawable/fab_compose"
|
|
|
|
fab:fab_size="mini"
|
|
|
|
fab:fab_title="@string/fab1_title" />
|
2016-03-03 17:46:31 +01:00
|
|
|
|
|
|
|
</com.getbase.floatingactionbutton.FloatingActionsMenu>
|
|
|
|
|
|
|
|
</android.support.design.widget.CoordinatorLayout>
|