activity_main_screen.xml 1.2 KB

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. tools:context=".MainScreenActivity">
  8. <FrameLayout
  9. android:id="@+id/main_frame_layout"
  10. android:layout_width="0dp"
  11. android:layout_height="0dp"
  12. app:layout_constraintBottom_toTopOf="@+id/bottomNavigationView"
  13. app:layout_constraintEnd_toEndOf="parent"
  14. app:layout_constraintStart_toStartOf="parent"
  15. app:layout_constraintTop_toTopOf="parent">
  16. </FrameLayout>
  17. <com.google.android.material.bottomnavigation.BottomNavigationView
  18. android:id="@+id/bottomNavigationView"
  19. android:layout_width="match_parent"
  20. android:layout_height="wrap_content"
  21. app:layout_constraintBottom_toBottomOf="parent"
  22. app:layout_constraintEnd_toEndOf="parent"
  23. app:layout_constraintStart_toStartOf="parent"
  24. app:menu="@menu/bottom_nav_menu"/>
  25. </androidx.constraintlayout.widget.ConstraintLayout>