Skip to content

Instantly share code, notes, and snippets.

@jetaggart
Created June 29, 2020 18:40
Show Gist options
  • Select an option

  • Save jetaggart/eae87410486953ab4383f33bd9b3b7f7 to your computer and use it in GitHub Desktop.

Select an option

Save jetaggart/eae87410486953ab4383f33bd9b3b7f7 to your computer and use it in GitHub Desktop.
<!-- android/app/src/main/res/layout/activity_authed_main.xml:1 -->
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<FrameLayout
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
</FrameLayout>
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/navigation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:background="?android:attr/windowBackground"
app:menu="@menu/navigation" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment