activity_workspace.xml 1.3 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. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="@color/background_color">
  7. <com.google.android.material.bottomnavigation.BottomNavigationView
  8. android:id="@+id/nav_view"
  9. android:layout_width="0dp"
  10. android:layout_height="wrap_content"
  11. android:background="@color/bottom_navigation_color"
  12. app:itemBackground="@color/bottom_navigation_color"
  13. app:itemPaddingBottom="@dimen/common_padding_small"
  14. app:itemTextColor="@color/nav_bottom_text_select"
  15. app:labelVisibilityMode="labeled"
  16. app:layout_constraintBottom_toBottomOf="parent"
  17. app:layout_constraintLeft_toLeftOf="parent"
  18. app:layout_constraintRight_toRightOf="parent"
  19. app:menu="@menu/bottom_nav_menu" />
  20. <androidx.viewpager2.widget.ViewPager2
  21. android:id="@+id/nav_viewpage2"
  22. android:layout_width="match_parent"
  23. android:layout_height="0dp"
  24. app:layout_constraintBottom_toTopOf="@+id/nav_view"
  25. app:layout_constraintTop_toTopOf="parent" />
  26. </androidx.constraintlayout.widget.ConstraintLayout>