Last active
November 23, 2022 12:52
-
-
Save kingjinho/99418d6a4d841c0899bdce24615df9aa to your computer and use it in GitHub Desktop.
기본적인?(보편적인) activity.xml 레이아웃 구조
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
<?xml version="1.0" encoding="utf-8"?> | |
<androidx.constraintlayout.widget.ConstraintLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
... > | |
<com.google.android.material.bottomnavigation.BottomNavigationView | |
android:id="@+id/bottomnav" | |
... | |
app:menu="@menu/bottom_nav_menu" /> | |
<androidx.fragment.app.FragmentContainerView | |
android:id="@+id/container" | |
android:name="androidx.navigation.fragment.NavHostFragment" | |
app:defaultNavHost="true" | |
app:navGraph="@navigation/mobile_navigation" | |
... | |
/> | |
</androidx.constraintlayout.widget.ConstraintLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment