Advertisement
Guest User

Untitled

a guest
Dec 11th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.16 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.design.widget.CoordinatorLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. xmlns:tools="http://schemas.android.com/tools"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:fitsSystemWindows="true"
  9. tools:context="nl.kevinvandenbroek.MyCocktailHandbook.activities.MainActivity">
  10.  
  11. <android.support.design.widget.AppBarLayout
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:theme="@style/AppTheme.AppBarOverlay">
  15.  
  16. <android.support.v7.widget.Toolbar
  17. android:id="@+id/toolbar"
  18. android:layout_width="match_parent"
  19. android:layout_height="?attr/actionBarSize"
  20. android:background="?attr/colorPrimary"
  21. app:popupTheme="@style/AppTheme.PopupOverlay" />
  22.  
  23. </android.support.design.widget.AppBarLayout>
  24.  
  25. <RelativeLayout
  26. android:layout_width="match_parent"
  27. android:layout_height="match_parent"
  28. app:layout_behavior="@string/appbar_scrolling_view_behavior"
  29. >
  30. <FrameLayout
  31. android:id="@+id/fragment_container"
  32. android:layout_width="match_parent"
  33. android:layout_height="match_parent"
  34. android:animateLayoutChanges="true"
  35. />
  36.  
  37. <com.aurelhubert.ahbottomnavigation.AHBottomNavigation
  38. android:id="@+id/bottom_navigation"
  39. android:layout_width="match_parent"
  40. android:layout_below="@id/fragment_container"
  41. android:layout_height="wrap_content"/>
  42.  
  43. <com.google.android.gms.ads.AdView
  44. android:id="@+id/adViewMain"
  45. android:layout_width="match_parent"
  46. android:layout_height="wrap_content"
  47. android:layout_above="@id/bottom_navigation"
  48. app:adSize="BANNER"
  49. app:adUnitId="@string/banner_ad_unit_id" />
  50. </RelativeLayout>
  51.  
  52. </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement