|
|
@@ -0,0 +1,54 @@
|
|
|
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:fab="http://schemas.android.com/apk/res-auto"
|
|
|
+ android:id="@+id/comicView"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <terranovaproductions.newcomicreader.FloatingActionMenu
|
|
|
+ android:id="@+id/fab_menu"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:padding="16dp">
|
|
|
+
|
|
|
+ <!--First button as menu button-->
|
|
|
+ <android.support.design.widget.FloatingActionButton
|
|
|
+ android:id="@+id/fab_main"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@drawable/ic_add_white_24dp"
|
|
|
+ fab:fabSize="normal"
|
|
|
+ fab:backgroundTint="@color/material_orange"/>
|
|
|
+
|
|
|
+ <!-- Other button as menu items-->
|
|
|
+ <android.support.design.widget.FloatingActionButton
|
|
|
+ android:id="@+id/fab_random"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:contentDescription="Hello World1"
|
|
|
+ android:paddingBottom="20dp"
|
|
|
+ fab:fabSize="mini"
|
|
|
+ fab:backgroundTint="@color/material_orange" />
|
|
|
+
|
|
|
+
|
|
|
+ <android.support.design.widget.FloatingActionButton
|
|
|
+ android:id="@+id/fab_download"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:contentDescription="Hello World2"
|
|
|
+ android:paddingBottom="20dp"
|
|
|
+ fab:fabSize="mini"
|
|
|
+ fab:backgroundTint="@color/material_orange"/>
|
|
|
+
|
|
|
+ <android.support.design.widget.FloatingActionButton
|
|
|
+ android:id="@+id/fab_browser"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:contentDescription="Hello World3"
|
|
|
+ android:paddingBottom="20dp"
|
|
|
+ fab:fabSize="mini"
|
|
|
+ fab:backgroundTint="@color/material_orange"/>
|
|
|
+
|
|
|
+ </terranovaproductions.newcomicreader.FloatingActionMenu>
|
|
|
+
|
|
|
+
|
|
|
+</RelativeLayout>
|