activity_main

mail@pastecode.io avatar
unknown
xml
2 years ago
1.2 kB
1
Indexable
Never
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/yellow"
    tools:context=".MainActivity">

    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:id="@+id/frame_layout"/>

    <com.google.android.material.bottomnavigation.BottomNavigationView
        android:layout_marginLeft="8dp"
        android:layout_marginRight="8dp"
        android:layout_gravity="bottom"
        android:layout_marginBottom="26dp"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/bottomNavigation"
        app:labelVisibilityMode="labeled"
        app:itemIconTint="@color/yellow"
        app:itemTextColor="@color/yellow"
        android:background="@drawable/bottom_navigation_background"
        app:menu="@menu/bottom_menu"/>


</androidx.coordinatorlayout.widget.CoordinatorLayout>