36 lines
1.4 KiB
XML
36 lines
1.4 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:background="?colorSurface"
|
||
|
tools:context=".ui.MainActivity">
|
||
|
|
||
|
<com.google.android.material.appbar.AppBarLayout
|
||
|
android:id="@+id/app_bar"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:background="?colorSurface"
|
||
|
app:elevation="0dp">
|
||
|
|
||
|
<com.google.android.material.appbar.MaterialToolbar
|
||
|
android:id="@+id/toolbar"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="?attr/actionBarSize"
|
||
|
android:background="?colorSurface"
|
||
|
app:titleTextAppearance="@style/ToolbarTextTitle"
|
||
|
tools:title="Manager" />
|
||
|
|
||
|
</com.google.android.material.appbar.AppBarLayout>
|
||
|
|
||
|
<fragment
|
||
|
android:id="@+id/nav_host"
|
||
|
android:name="androidx.navigation.fragment.NavHostFragment"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_below="@id/app_bar"
|
||
|
app:defaultNavHost="true"
|
||
|
app:navGraph="@navigation/mobile_navigation" />
|
||
|
|
||
|
</RelativeLayout>
|