Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:fitsSystemWindows="true"
- tools:context="nl.kevinvandenbroek.MyCocktailHandbook.activities.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>
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:layout_behavior="@string/appbar_scrolling_view_behavior"
- >
- <FrameLayout
- android:id="@+id/fragment_container"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:animateLayoutChanges="true"
- />
- <com.aurelhubert.ahbottomnavigation.AHBottomNavigation
- android:id="@+id/bottom_navigation"
- android:layout_width="match_parent"
- android:layout_below="@id/fragment_container"
- android:layout_height="wrap_content"/>
- <com.google.android.gms.ads.AdView
- android:id="@+id/adViewMain"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_above="@id/bottom_navigation"
- app:adSize="BANNER"
- app:adUnitId="@string/banner_ad_unit_id" />
- </RelativeLayout>
- </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement