]> git.ktnx.net Git - mobile-ledger.git/blob - app/src/main/res/layout/app_bar_account_summary.xml
7e29045d9d64728fea229bbfd48f128d08aa60e6
[mobile-ledger.git] / app / src / main / res / layout / app_bar_account_summary.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3   ~ Copyright © 2018 Damyan Ivanov.
4   ~ This file is part of Mobile-Ledger.
5   ~ Mobile-Ledger is free software: you can distribute it and/or modify it
6   ~ under the term of the GNU General Public License as published by
7   ~ the Free Software Foundation, either version 3 of the License, or
8   ~ (at your opinion), any later version.
9   ~
10   ~ Mobile-Ledger is distributed in the hope that it will be useful,
11   ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
12   ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13   ~ GNU General Public License terms for details.
14   ~
15   ~ You should have received a copy of the GNU General Public License
16   ~ along with Mobile-Ledger. If not, see <https://www.gnu.org/licenses/>.
17   -->
18
19 <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
20     xmlns:app="http://schemas.android.com/apk/res-auto"
21     xmlns:tools="http://schemas.android.com/tools"
22     android:layout_width="match_parent"
23     android:layout_height="match_parent"
24     tools:context=".AccountSummary">
25
26     <android.support.design.widget.AppBarLayout
27         android:layout_width="match_parent"
28         android:layout_height="wrap_content"
29         android:theme="@style/AppTheme.AppBarOverlay">
30
31         <android.support.v7.widget.Toolbar
32             android:id="@+id/toolbar"
33             android:layout_width="match_parent"
34             android:layout_height="?attr/actionBarSize"
35             android:background="?attr/colorPrimary"
36             app:popupTheme="@style/AppTheme.PopupOverlay" />
37
38     </android.support.design.widget.AppBarLayout>
39
40     <include layout="@layout/content_account_summary" />
41
42     <android.support.design.widget.FloatingActionButton
43         android:id="@+id/btn_add_transaction"
44         android:layout_width="wrap_content"
45         android:layout_height="wrap_content"
46         android:layout_gravity="bottom|end"
47         android:layout_margin="@dimen/fab_margin"
48         android:onClick="fab_new_transaction_clicked"
49         app:backgroundTint="@color/colorPrimary"
50         app:srcCompat="@drawable/svg_thick_plus_white" />
51
52 </android.support.design.widget.CoordinatorLayout>