-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright © 2018 Damyan Ivanov.
- ~ This file is part of Mobile-Ledger.
- ~ Mobile-Ledger is free software: you can distribute it and/or modify it
+<?xml version="1.0" encoding="utf-8"?><!--
+ ~ Copyright © 2019 Damyan Ivanov.
+ ~ This file is part of MoLe.
+ ~ MoLe is free software: you can distribute it and/or modify it
~ under the term of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your opinion), any later version.
~
- ~ Mobile-Ledger is distributed in the hope that it will be useful,
+ ~ MoLe is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License terms for details.
~
~ You should have received a copy of the GNU General Public License
- ~ along with Mobile-Ledger. If not, see <https://www.gnu.org/licenses/>.
+ ~ along with MoLe. If not, see <https://www.gnu.org/licenses/>.
-->
-
-<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/drawer_layout"
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:fitsSystemWindows="true"
- tools:openDrawer="start">
-
- <include
- layout="@layout/app_bar_account_summary"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
+ android:layout_height="match_parent">
- <android.support.design.widget.NavigationView
- android:id="@+id/nav_view"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_marginTop="?attr/actionBarSize"
- android:layout_gravity="start"
- android:fitsSystemWindows="true">
+ <include layout="@layout/loading" />
- <include
- layout="@layout/drawer"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
-
- </android.support.design.widget.NavigationView>
+ <include
+ layout="@layout/no_profiles"
+ android:visibility="gone" />
-</android.support.v4.widget.DrawerLayout>
+ <include
+ layout="@layout/main_app_layout"
+ android:visibility="gone" />
+</FrameLayout>
\ No newline at end of file