123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout
- 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:ads="http://schemas.android.com/apk/res-auto"
- xmlns:fab="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:paddingBottom="@dimen/activity_vertical_margin"
- android:paddingLeft="@dimen/activity_horizontal_margin"
- android:paddingRight="@dimen/activity_horizontal_margin"
- android:paddingTop="@dimen/activity_vertical_margin"
- app:layout_behavior="@string/appbar_scrolling_view_behavior"
- tools:context=".ui.activities.MainActivity"
- tools:showIn="@layout/activity_main">
-
- <FrameLayout
- android:id="@+id/container"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_above="@+id/adView">
- </FrameLayout>
-
- <com.github.clans.fab.FloatingActionMenu
- android:id="@+id/fab"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- fab:menu_fab_size="normal"
- fab:menu_showShadow="true"
- fab:menu_shadowColor="#66000000"
- fab:menu_shadowRadius="4dp"
- fab:menu_shadowXOffset="1dp"
- fab:menu_shadowYOffset="3dp"
- fab:menu_colorNormal="#DA4336"
- fab:menu_colorPressed="#E75043"
- fab:menu_colorRipple="#99FFFFFF"
- fab:menu_animationDelayPerItem="50"
- fab:menu_buttonSpacing="0dp"
- fab:menu_labels_margin="0dp"
- fab:menu_labels_showAnimation="@anim/fab_slide_in_from_right"
- fab:menu_labels_hideAnimation="@anim/fab_slide_out_to_right"
- fab:menu_labels_paddingRight="8dp"
- fab:menu_labels_paddingBottom="4dp"
- fab:menu_labels_padding="8dp"
- fab:menu_labels_textColor="#FFFFFF"
- fab:menu_labels_textSize="14sp"
- fab:menu_labels_cornerRadius="3dp"
- fab:menu_labels_colorNormal="#333333"
- fab:menu_labels_colorPressed="#444444"
- fab:menu_labels_colorRipple="#66FFFFFF"
- fab:menu_labels_showShadow="true"
- fab:menu_labels_singleLine="false"
- fab:menu_labels_ellipsize="none"
- fab:menu_labels_maxLines="-1"
- fab:menu_labels_position="left"
- fab:menu_openDirection="up"
- fab:menu_backgroundColor="@android:color/transparent"
- fab:menu_fab_label="@string/stop_add"
- app:menu_icon="@drawable/ic_add_white_24dp"
- android:layout_above="@+id/adView">
-
- <com.github.clans.fab.FloatingActionButton
- android:id="@+id/fab_item_add_map"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/ic_map_white_24dp"
- fab:fab_size="mini"
- fab:fab_label="@string/stop_add_map" />
-
- <com.github.clans.fab.FloatingActionButton
- android:id="@+id/fab_item_add_list"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/ic_dehaze_white_24dp"
- fab:fab_size="mini"
- fab:fab_label="@string/stop_add_list" />
-
- </com.github.clans.fab.FloatingActionMenu>
-
- <com.google.android.gms.ads.AdView
- android:id="@+id/adView"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
- android:layout_alignParentBottom="true"
- ads:adSize="BANNER"
- ads:adUnitId="@string/banner_ad_unit_id">
- </com.google.android.gms.ads.AdView>
- </RelativeLayout>
|