Skip to content

Instantly share code, notes, and snippets.

@hitherejoe
Last active October 20, 2016 14:09
Show Gist options
  • Save hitherejoe/e297d27023122bf7494a75c236849792 to your computer and use it in GitHub Desktop.
Save hitherejoe/e297d27023122bf7494a75c236849792 to your computer and use it in GitHub Desktop.
<?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"
android:layout_width="match_parent"
android:layout_height="match_parent">
<!-- Content Container -->
<android.support.design.widget.BottomNavigationView
android:id="@+id/bottom_navigation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
app:itemBackground="@color/colorPrimary"
app:itemIconTint="@color/white"
app:itemTextColor="@color/white"
app:menu="@menu/bottom_navigation_main" />
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment