activity_main.xml (1746B)
1 <?xml version="1.0" encoding="utf-8"?><!-- 2 ~ This file is part of GNU Taler 3 ~ (C) 2020 Taler Systems S.A. 4 ~ 5 ~ GNU Taler is free software; you can redistribute it and/or modify it under the 6 ~ terms of the GNU General Public License as published by the Free Software 7 ~ Foundation; either version 3, or (at your option) any later version. 8 ~ 9 ~ GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY 10 ~ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 11 ~ A PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 ~ 13 ~ You should have received a copy of the GNU General Public License along with 14 ~ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> 15 --> 16 17 <androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 xmlns:app="http://schemas.android.com/apk/res-auto" 19 xmlns:tools="http://schemas.android.com/tools" 20 android:id="@+id/drawer_layout" 21 android:layout_width="match_parent" 22 android:layout_height="match_parent" 23 android:fitsSystemWindows="true" 24 tools:openDrawer="start"> 25 26 <include 27 android:id="@+id/main" 28 layout="@layout/app_bar_main" 29 android:layout_width="match_parent" 30 android:layout_height="match_parent" /> 31 32 <com.google.android.material.navigation.NavigationView 33 android:id="@+id/nav_view" 34 android:layout_width="wrap_content" 35 android:layout_height="match_parent" 36 android:layout_gravity="start" 37 android:fitsSystemWindows="true" 38 app:headerLayout="@layout/nav_header_main" 39 app:menu="@menu/activity_main_drawer" /> 40 41 </androidx.drawerlayout.widget.DrawerLayout>