summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/activity_main.xml
blob: d740acb89492c0890a9a4c7ceadb48a1feaf4462 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/linearLayout"
	android:layout_width="match_parent"
	android:layout_height="match_parent">

	<com.google.android.material.navigation.NavigationView
		android:id="@+id/navigationView"
		android:layout_width="wrap_content"
		android:layout_height="0dp"
		app:headerLayout="@layout/header_navigation_drawer"
		app:layout_constraintBottom_toBottomOf="parent"
		app:layout_constraintStart_toStartOf="parent"
		app:layout_constraintTop_toTopOf="parent"
		app:layout_constraintVertical_bias="0.0"
		app:menu="@menu/navigation_drawer">

	</com.google.android.material.navigation.NavigationView>

	<com.google.android.material.appbar.AppBarLayout
		android:id="@+id/appBarLayout2"
		style="@style/Widget.MaterialComponents.AppBarLayout.Primary"
		android:layout_width="0dp"
		android:layout_height="wrap_content"
		android:fitsSystemWindows="true"
		app:layout_constraintEnd_toEndOf="parent"
		app:layout_constraintStart_toEndOf="@+id/navigationView"
		app:layout_constraintTop_toTopOf="parent">

		<com.google.android.material.appbar.MaterialToolbar
			android:id="@+id/topAppBar"
			style="@style/Widget.MaterialComponents.Toolbar.Primary"
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:background="@android:color/transparent"
			android:elevation="0dp"
			android:keyboardNavigationCluster="true"
			app:navigationIcon="@drawable/menu"
			app:title="@string/nav_header_title" />

	</com.google.android.material.appbar.AppBarLayout>

	<ListView
		android:id="@+id/listView"
		android:layout_width="0dp"
		android:layout_height="0dp"
		app:layout_constraintBottom_toBottomOf="parent"
		app:layout_constraintEnd_toEndOf="parent"
		app:layout_constraintStart_toEndOf="@+id/navigationView"
		app:layout_constraintTop_toBottomOf="@+id/appBarLayout2" />

</androidx.constraintlayout.widget.ConstraintLayout>