<?xml version="1.0" encoding="utf-8"?><!--
- ~ Copyright © 2019 Damyan Ivanov.
- ~ This file is part of Mobile-Ledger.
- ~ Mobile-Ledger is free software: you can distribute it and/or modify it
+ ~ Copyright © 2021 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/>.
-->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:orientation="vertical"
- android:theme="@style/AppTheme.AppBarOverlay"
- tools:context=".ui.activity.MainActivity">
+ tools:context=".ui.activity.MainActivity"
+ >
- <android.support.v7.widget.Toolbar
- android:id="@+id/toolbar"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- android:background="@color/colorPrimary"
- app:popupTheme="@style/AppTheme.PopupOverlay" />
-
- <android.support.v4.widget.DrawerLayout
- android:id="@+id/drawer_layout"
+ <ScrollView
+ android:id="@+id/no_profiles_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
- tools:openDrawer="start">
-
- <android.support.constraint.ConstraintLayout
+ android:background="?table_row_dark_bg"
+ android:visibility="visible"
+ >
+ <androidx.constraintlayout.widget.ConstraintLayout xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="wrap_content"
+ >
- <android.support.design.widget.FloatingActionButton
- android:id="@+id/btn_add_transaction"
- android:layout_width="wrap_content"
+ <FrameLayout
+ android:id="@+id/welcome_header"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_gravity="bottom|end"
- android:layout_margin="@dimen/fab_margin"
- android:onClick="fabNewTransactionClicked"
- app:backgroundTint="@color/colorPrimary"
- app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
- app:srcCompat="@drawable/svg_thick_plus_white" />
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ >
- <LinearLayout
- android:id="@+id/main_header"
- android:layout_width="match_parent"
+ <include layout="@layout/nav_header_layout" />
+ </FrameLayout>
+
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:layout_width="0dp"
android:layout_height="wrap_content"
- android:orientation="vertical"
- android:theme="@style/AppTheme"
+ android:padding="@dimen/activity_horizontal_margin"
+ app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
+ app:layout_constraintTop_toBottomOf="@id/welcome_header"
+ >
- <LinearLayout
- android:id="@+id/transaction_list_account_name_filter"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="horizontal"
- android:visibility="gone">
+ <TextView
+ android:id="@+id/textView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginVertical="48dp"
+ android:text="@string/text_welcome"
+ android:textColor="?textColor"
+ android:textSize="48sp"
+ app:layout_constraintBottom_toTopOf="@id/textView3"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="@drawable/ic_filter_list_black_24dp" />
+ <TextView
+ android:id="@+id/textView3"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginVertical="24dp"
+ android:layout_marginStart="8dp"
+ android:layout_marginEnd="8dp"
+ android:text="@string/text_welcome_profile_needed"
+ android:textColor="?textColor"
+ android:textSize="20sp"
+ app:layout_constraintBottom_toTopOf="@id/btn_no_profiles_add"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/textView"
+ />
- <AutoCompleteTextView
- android:id="@+id/transaction_filter_account_name"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1" />
+ <Button
+ android:id="@+id/btn_no_profiles_add"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginVertical="24dp"
+ android:layout_marginStart="8dp"
+ android:layout_marginEnd="8dp"
+ android:backgroundTint="?colorSecondary"
+ android:drawablePadding="16dp"
+ android:text="@string/create_profile_label"
+ android:textColor="@color/design_default_color_on_primary"
+ app:layout_constraintBottom_toTopOf="@id/restore_hint"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/textView3"
+ />
+ <TextView
+ android:id="@+id/restore_hint"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginHorizontal="8dp"
+ android:layout_marginVertical="24dp"
+ android:text="@string/no_profile_restore_hint"
+ android:textColor="?textColor"
+ android:textSize="20sp"
+ app:layout_constraintBottom_toTopOf="@id/btn_restore"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/btn_no_profiles_add"
+ />
- <TextView
- android:id="@+id/clearAccountNameFilter"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="@drawable/ic_clear_black_24dp"
- android:clickable="true"
- android:focusable="true" />
+ <Button
+ android:id="@+id/btn_restore"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginHorizontal="8dp"
+ android:layout_marginVertical="24dp"
+ android:drawableStart="@drawable/ic_baseline_restore_24"
+ android:drawablePadding="@dimen/text_margin"
+ android:text="@string/restore_button_label"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/restore_hint"
+ />
+ </androidx.constraintlayout.widget.ConstraintLayout>
+ </androidx.constraintlayout.widget.ConstraintLayout>
+ </ScrollView>
+ <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:id="@+id/main_app_layout"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="?android:attr/colorBackground"
+ android:orientation="vertical"
+ android:visibility="gone"
+ >
- </LinearLayout>
+ <com.google.android.material.floatingactionbutton.FloatingActionButton
+ android:id="@+id/btn_add_transaction"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom|end"
+ android:layout_margin="@dimen/fab_margin"
+ android:contentDescription="@string/new_transaction_fab_description"
+ app:backgroundTint="?colorSecondary"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:maxImageSize="36dp"
+ app:srcCompat="@drawable/ic_add_white_24dp"
+ />
+
+ <androidx.drawerlayout.widget.DrawerLayout
+ android:id="@+id/drawer_layout"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:openDrawer="start"
+ >
- <LinearLayout
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:id="@+id/pager_layout"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ >
+
+ <androidx.appcompat.widget.Toolbar
+ android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:elevation="24dp"
- android:orientation="horizontal">
+ android:background="?colorPrimary"
+ android:theme="@style/AppTheme.AppBarOverlay"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ app:popupTheme="@style/AppTheme.PopupOverlay"
+ app:subtitleTextAppearance="@style/TextAppearance.AppCompat.Widget.ActionBar.Subtitle"
+ app:titleTextAppearance="@style/TextAppearance.AppCompat.Widget.ActionBar.Title"
+ />
- <TextView
- android:id="@+id/transaction_last_update_label"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingStart="8dp"
- android:paddingEnd="8dp"
- android:text="@string/transactions_last_update_label"
- android:textColor="@android:color/tertiary_text_light" />
-
- <TextView
- android:id="@+id/transactions_last_update"
- style="@android:style/Widget.DeviceDefault.Light.TextView"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="\?"
- android:textColor="@android:color/tertiary_text_light"
- tools:ignore="HardcodedText" />
- </LinearLayout>
<LinearLayout
android:id="@+id/transaction_progress_layout"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal"
- android:visibility="gone">
+ android:visibility="gone"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/toolbar"
+ >
<ProgressBar
android:id="@+id/transaction_list_progress_bar"
android:layout_marginBottom="-7dp"
android:layout_weight="1"
android:indeterminate="true"
+ android:min="0"
android:padding="0dp"
- android:progressTint="@color/colorPrimary"
+ android:progressTint="?colorPrimary"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/transaction_list_head" />
+ />
<TextView
android:id="@+id/transaction_list_cancel_download"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:background="@drawable/ic_clear_black_24dp"
+ android:background="@drawable/ic_clear_accent_24dp"
android:clickable="true"
android:focusable="true"
- android:onClick="onStopTransactionRefreshClick" />
+ />
</LinearLayout>
- </LinearLayout>
-
- <android.support.v4.view.ViewPager
- android:id="@+id/root_frame"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- app:layout_behavior="@string/appbar_scrolling_view_behavior"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/main_header">
-
- </android.support.v4.view.ViewPager>
-
- <View
- android:layout_width="0dp"
- android:layout_height="4dp"
- android:background="@drawable/drop_shadow"
- app:layout_constraintTop_toBottomOf="@id/main_header" />
+ <androidx.viewpager2.widget.ViewPager2
+ android:id="@+id/main_pager"
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/transaction_progress_layout"
+ >
- </android.support.constraint.ConstraintLayout>
+ </androidx.viewpager2.widget.ViewPager2>
+ <View
+ android:layout_width="0dp"
+ android:layout_height="?attr/main_header_shadow_height"
+ android:background="@drawable/drop_shadow"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/transaction_progress_layout"
+ />
- <android.support.design.widget.NavigationView
- android:id="@+id/nav_view"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_gravity="start"
- android:fitsSystemWindows="true"
- android:theme="@style/ThemeOverlay.AppCompat.Light">
+ </androidx.constraintlayout.widget.ConstraintLayout>
- <android.support.constraint.ConstraintLayout
- android:layout_width="match_parent"
+ <com.google.android.material.navigation.NavigationView xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:id="@+id/nav_view"
+ android:layout_width="wrap_content"
android:layout_height="match_parent"
- android:layout_marginBottom="0dp"
- android:orientation="vertical">
+ android:layout_gravity="start"
+ android:fitsSystemWindows="true"
+ >
- <LinearLayout
- android:id="@+id/nav_fixed_items"
+
+ <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:divider="@drawable/list_divider"
- android:elevation="2dp"
+ android:layout_height="match_parent"
+ android:layout_marginBottom="0dp"
+ android:animateLayoutChanges="true"
android:orientation="vertical"
- android:showDividers="beginning"
- app:layout_constraintBottom_toBottomOf="parent">
-
- <TextView
- android:id="@+id/nav_profiles"
- style="@style/nav_button"
- android:layout_width="match_parent"
- android:layout_weight="1"
- android:drawableStart="@drawable/ic_view_list_black_24dp"
- android:onClick="navProfilesClicked"
- android:text="@string/profiles" />
-
- <TextView
- android:id="@+id/textView2"
- style="@style/nav_button"
- android:layout_weight="1"
- android:drawableStart="@drawable/ic_settings_black_24dp"
- android:onClick="navSettingsClicked"
- android:text="@string/action_settings" />
-
- <TextView
- android:id="@+id/nav_exit"
- style="@style/nav_button"
- android:layout_weight="1"
- android:drawableStart="@drawable/ic_exit_to_app_black_24dp"
- android:onClick="navExitClicked"
- android:text="@string/nav_exit_title" />
-
- </LinearLayout>
-
- <ScrollView
- android:layout_width="0dp"
- android:layout_height="0dp"
- app:layout_constraintBottom_toTopOf="@+id/nav_fixed_items"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
+ >
<LinearLayout
- android:id="@+id/nav_upper"
+ android:id="@+id/nav_fixed_items"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:divider="@drawable/list_divider"
+ android:elevation="2dp"
android:orientation="vertical"
+ android:showDividers="beginning"
+ android:visibility="visible"
+ app:layout_constraintBottom_toBottomOf="parent"
+ >
+
+ <TextView
+ android:id="@+id/textView2"
+ style="@style/nav_button"
+ android:layout_weight="1"
+ android:text="@string/action_settings"
+ android:visibility="gone"
+ app:drawableStartCompat="@drawable/ic_settings_black_24dp"
+ />
+ <TextView
+ android:id="@+id/nav_backup_restore"
+ style="@style/nav_button"
+ android:layout_weight="1"
+ android:text="@string/action_import_export"
+ app:drawableStartCompat="@drawable/ic_baseline_backup_24"
+ />
+
+ </LinearLayout>
+
+ <ScrollView
+ android:layout_width="0dp"
+ android:layout_height="0dp"
app:layout_constraintBottom_toTopOf="@+id/nav_fixed_items"
- app:layout_constraintTop_toBottomOf="@+id/nav_header">
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintLeft_toLeftOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ >
<LinearLayout
- android:id="@+id/nav_header"
+ android:id="@+id/nav_upper"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="@drawable/side_nav_bar"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:padding="@dimen/activity_vertical_margin"
- android:theme="@style/ThemeOverlay.AppCompat.Dark"
- app:layout_constraintTop_toTopOf="parent">
+ android:animateLayoutChanges="true"
+ android:orientation="vertical"
+ android:showDividers="beginning"
+ app:layout_constraintBottom_toTopOf="@+id/nav_fixed_items"
+ app:layout_constraintTop_toBottomOf="@+id/nav_header"
+ >
- <include layout="@layout/nav_header_logo" />
+ <include layout="@layout/nav_header_layout" />
<LinearLayout
+ android:id="@+id/nav_actions"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_marginStart="@dimen/activity_horizontal_margin"
- android:layout_marginEnd="@dimen/activity_horizontal_margin"
- android:gravity="center_vertical"
- android:orientation="vertical">
+ android:orientation="vertical"
+ >
<TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/app_name"
- android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
+ android:id="@+id/nav_account_summary"
+ style="@style/nav_button"
+ android:text="@string/account_summary_title"
+ app:drawableStartCompat="@drawable/ic_home_black_24dp"
+ />
<TextView
- android:id="@+id/drawer_version_text"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="dummy version"
- tools:ignore="HardcodedText" />
- </LinearLayout>
+ android:id="@+id/nav_latest_transactions"
+ style="@style/nav_button"
+ android:text="@string/nav_transactions_title"
+ app:drawableStartCompat="@drawable/ic_event_note_black_24dp"
+ />
- </LinearLayout>
+ <TextView
+ android:id="@+id/textView5"
+ style="@style/nav_button"
+ android:text="@string/nav_reports_title"
+ android:visibility="gone"
+ app:drawableStartCompat="@drawable/ic_assignment_black_24dp"
+ />
+
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:id="@+id/nav_profile_list_head_layout"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/thumb_row_height"
+ >
+
+ <ImageView
+ android:id="@+id/nav_new_profile_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:contentDescription="@string/icon"
+ android:paddingStart="8dp"
+ android:paddingEnd="8dp"
+ android:visibility="gone"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toStartOf="@id/nav_profile_list_head_buttons"
+ app:layout_constraintStart_toEndOf="@id/nav_profiles_label"
+ app:layout_constraintTop_toTopOf="parent"
+ app:srcCompat="@drawable/ic_add_circle_white_24dp"
+ />
+
+ <LinearLayout
+ android:id="@+id/nav_profile_list_head_buttons"
+ android:layout_width="wrap_content"
+ android:layout_height="0dp"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingStart="16dp"
+ android:paddingEnd="16dp"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ >
+
+ <ImageView
+ android:id="@+id/nav_profiles_cancel_edit"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@drawable/ic_clear_accent_24dp"
+ android:contentDescription="@string/icon"
+ android:gravity="end|center_vertical"
+ android:paddingStart="8dp"
+ android:paddingEnd="8dp"
+ android:visibility="gone"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ />
+
+ <ImageView
+ android:id="@+id/nav_profiles_start_edit"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@drawable/ic_settings_black_24dp"
+ android:contentDescription="@string/icon"
+ android:gravity="end|center_vertical"
+ android:paddingStart="8dp"
+ android:paddingEnd="8dp"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ />
+
+ </LinearLayout>
+
+ <TextView
+ android:id="@+id/nav_profiles_label"
+ style="@style/nav_button"
+ android:layout_width="wrap_content"
+ android:layout_height="0dp"
+ android:gravity="start|center_vertical"
+ android:text="@string/profiles"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ />
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
+ <LinearLayout
+ android:id="@+id/nav_profile_list_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:animateLayoutChanges="true"
+ android:nestedScrollingEnabled="false"
+ android:orientation="vertical"
+ >
- <LinearLayout
- android:id="@+id/nav_actions"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/nav_profile_list"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:isScrollContainer="false"
+ android:nestedScrollingEnabled="false"
+ android:orientation="vertical"
+ >
- <TextView
- android:id="@+id/nav_account_summary"
- style="@style/nav_button"
- android:drawableStart="@drawable/ic_home_black_24dp"
- android:onClick="onAccountSummaryClicked"
- android:text="@string/account_summary_title" />
+ </androidx.recyclerview.widget.RecyclerView>
- <TextView
- android:id="@+id/nav_latest_transactions"
- style="@style/nav_button"
- android:drawableStart="@drawable/ic_event_note_black_24dp"
- android:onClick="onLatestTransactionsClicked"
- android:text="@string/nav_latest_transactions_title" />
+ </LinearLayout>
+ </LinearLayout>
<TextView
- android:id="@+id/textView5"
+ android:id="@+id/nav_patterns"
style="@style/nav_button"
- android:drawableStart="@drawable/ic_assignment_black_24dp"
- android:text="@string/nav_reports_title" />
+ android:text="@string/nav_templates"
+ app:drawableStartCompat="@drawable/ic_baseline_auto_graph_24"
+ />
</LinearLayout>
+ </ScrollView>
- </LinearLayout>
- </ScrollView>
-
- </android.support.constraint.ConstraintLayout>
-
- </android.support.design.widget.NavigationView>
+ </androidx.constraintlayout.widget.ConstraintLayout>
- </android.support.v4.widget.DrawerLayout>
-</LinearLayout>
+ </com.google.android.material.navigation.NavigationView>
+ </androidx.drawerlayout.widget.DrawerLayout>
+ </androidx.coordinatorlayout.widget.CoordinatorLayout>
+</FrameLayout>
\ No newline at end of file