|
|
@ -1,32 +1,25 @@ |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout |
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout |
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:layout_height="match_parent" |
|
|
|
tools:context=".ui.main.MainActivity"> |
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"> |
|
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout |
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView |
|
|
|
|
|
|
|
android:id="@+id/bottom_navigation_view" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"> |
|
|
|
app:labelVisibilityMode="labeled" |
|
|
|
|
|
|
|
app:menu="@menu/activity_main_bnv" |
|
|
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"/> |
|
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView |
|
|
|
<androidx.viewpager.widget.ViewPager |
|
|
|
android:id="@+id/bottom_navigation_view" |
|
|
|
android:id="@+id/view_pager_main" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="0dp" |
|
|
|
app:labelVisibilityMode="labeled" |
|
|
|
app:layout_constraintBottom_toTopOf="@+id/bottom_navigation_view" |
|
|
|
app:menu="@menu/activity_main_bnv" |
|
|
|
app:layout_constraintTop_toTopOf="parent"/> |
|
|
|
app:layout_constraintBottom_toBottomOf="parent"/> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<androidx.viewpager.widget.ViewPager |
|
|
|
|
|
|
|
android:id="@+id/view_pager_main" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="0dp" |
|
|
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/bottom_navigation_view" |
|
|
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"/> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |
|
|
|
|
|
|
|
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |
|
|
|
|
|
|
|