2018-03-04 12:49:16 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-05-03 16:42:59 +02:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-05-20 14:12:32 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2023-03-29 22:14:29 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2021-05-03 16:42:59 +02:00
|
|
|
android:id="@+id/main_container"
|
2018-03-04 12:49:16 +01:00
|
|
|
android:layout_width="match_parent"
|
2018-10-03 21:28:23 +02:00
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2023-03-29 22:14:29 +02:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/main_app_bar"
|
2018-10-03 21:28:23 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-05-20 14:12:32 +02:00
|
|
|
android:layout_height="wrap_content"
|
2023-03-29 22:14:29 +02:00
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
app:layout_constraintBaseline_toTopOf="parent">
|
|
|
|
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
|
|
android:id="@+id/main_toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize" />
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2018-08-24 15:48:29 +02:00
|
|
|
|
2019-10-15 19:15:28 +02:00
|
|
|
<androidx.fragment.app.FragmentContainerView
|
2021-05-03 16:42:59 +02:00
|
|
|
android:id="@+id/main_fragment_container"
|
2018-08-24 15:48:29 +02:00
|
|
|
android:layout_width="match_parent"
|
2021-05-03 16:42:59 +02:00
|
|
|
android:layout_height="0dp"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/main_bottom_nav"
|
2023-03-29 22:14:29 +02:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/main_app_bar"
|
|
|
|
tools:layout="@layout/fragment_dashboard" />
|
2021-05-03 16:42:59 +02:00
|
|
|
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
|
|
android:id="@+id/main_message_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/main_bottom_nav" />
|
2018-08-24 15:48:29 +02:00
|
|
|
|
2021-04-03 11:46:36 +02:00
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
2021-05-03 16:42:59 +02:00
|
|
|
android:id="@+id/main_bottom_nav"
|
2018-08-24 15:48:29 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-03 11:46:36 +02:00
|
|
|
app:itemTextAppearanceActive="@style/WulkanowyTheme.TextAppearanceBottomNavigation"
|
|
|
|
app:itemTextAppearanceInactive="@style/WulkanowyTheme.TextAppearanceBottomNavigation"
|
2021-05-03 16:42:59 +02:00
|
|
|
app:labelVisibilityMode="labeled"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|