mirror of
https://github.com/gsantner/dandelion
synced 2024-11-16 01:12:08 +01:00
77 lines
3.3 KiB
XML
77 lines
3.3 KiB
XML
|
<?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:tools="http://schemas.android.com/tools"
|
||
|
xmlns:fab="http://schemas.android.com/apk/res-auto"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:fitsSystemWindows="true"
|
||
|
tools:context="de.baumann.myapplication.MainActivity">
|
||
|
|
||
|
<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
|
||
|
android:id="@+id/multiple_actions"
|
||
|
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"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="bottom|end"
|
||
|
android:layout_marginRight="8dp"
|
||
|
android:layout_marginBottom="4dp"
|
||
|
app:layout_behavior="de.baumann.diaspora.FloatingActionsMenuBehavior">
|
||
|
|
||
|
<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_icon="@drawable/fab_top"
|
||
|
fab:fab_title="@string/fab3_title"
|
||
|
fab:fab_colorPressed="@color/fab_small_pressed"
|
||
|
fab:fab_labelStyle="@style/menu_labels_style"
|
||
|
fab:fab_size="mini" />
|
||
|
|
||
|
<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_icon="@drawable/fab_search"
|
||
|
fab:fab_title="@string/fab2_title"
|
||
|
fab:fab_colorPressed="@color/fab_small_pressed"
|
||
|
fab:fab_labelStyle="@style/menu_labels_style"
|
||
|
fab:fab_size="mini" />
|
||
|
|
||
|
<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_icon="@drawable/fab_compose"
|
||
|
fab:fab_title="@string/fab1_title"
|
||
|
fab:fab_colorPressed="@color/fab_small_pressed"
|
||
|
fab:fab_size="mini" />
|
||
|
|
||
|
</com.getbase.floatingactionbutton.FloatingActionsMenu>
|
||
|
|
||
|
</android.support.design.widget.CoordinatorLayout>
|