Last active
April 12, 2020 17:42
-
-
Save yenerm/9a07014e71a9a9df4c0c72bd615d0671 to your computer and use it in GitHub Desktop.
Starter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Copyright 2019 Google LLC. | |
SPDX-License-Identifier: Apache-2.0 --> | |
<?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:orientation="vertical" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" > | |
<fragment | |
android:id="@+id/nav_host_fragment" | |
android:name="androidx.navigation.fragment.NavHostFragment" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
app:defaultNavHost="true" | |
app:navGraph="@navigation/mobile_navigation" /> | |
<com.google.android.material.bottomnavigation.BottomNavigationView | |
android:id="@+id/nav_view" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginEnd="0dp" | |
android:layout_marginStart="0dp" | |
android:background="?android:attr/windowBackground" | |
app:menu="@menu/bottom_nav_menu" /> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment