wulkanowy-mod/app/src/main/res/layout/activity_main.xml

31 lines
1.4 KiB
XML
Raw Normal View History

2018-03-04 12:49:16 +01:00
<?xml version="1.0" encoding="utf-8"?>
2021-03-06 18:18:42 +01:00
<androidx.coordinatorlayout.widget.CoordinatorLayout 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"
2018-08-24 15:48:29 +02:00
android:id="@+id/mainContainer"
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">
2019-08-26 20:54:20 +02:00
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/mainToolbar"
style="@style/Widget.MaterialComponents.Toolbar.Surface"
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"
2021-03-06 18:18:42 +01:00
app:contentInsetStartWithNavigation="0dp" />
2018-08-24 15:48:29 +02:00
2019-10-15 19:15:28 +02:00
<androidx.fragment.app.FragmentContainerView
2018-08-24 15:48:29 +02:00
android:id="@+id/mainFragmentContainer"
android:layout_width="match_parent"
2021-03-06 18:18:42 +01:00
android:layout_height="match_parent"
android:layout_marginTop="?actionBarSize"
android:layout_marginBottom="56dp" />
2018-08-24 15:48:29 +02:00
<com.google.android.material.bottomnavigation.BottomNavigationView
2018-08-24 15:48:29 +02:00
android:id="@+id/mainBottomNav"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
app:itemTextAppearanceActive="@style/WulkanowyTheme.TextAppearanceBottomNavigation"
app:itemTextAppearanceInactive="@style/WulkanowyTheme.TextAppearanceBottomNavigation"
app:labelVisibilityMode="labeled" />
2021-03-06 18:18:42 +01:00
</androidx.coordinatorlayout.widget.CoordinatorLayout>