]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/app_bar_account_summary.xml
major refactor, make account summary and transaction list fragments, part of the...
[mobile-ledger.git] / app / src / main / res / layout / app_bar_account_summary.xml
index 7e29045d9d64728fea229bbfd48f128d08aa60e6..dde9f395c6e246774f18b627dd8aa0a9230f0766 100644 (file)
@@ -1,5 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
+<?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
@@ -21,7 +20,7 @@
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    tools:context=".AccountSummary">
+    tools:context=".ui.activity.MainActivity">
 
     <android.support.design.widget.AppBarLayout
         android:layout_width="match_parent"
 
     </android.support.design.widget.AppBarLayout>
 
-    <include layout="@layout/content_account_summary" />
+    <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+        xmlns:tools="http://schemas.android.com/tools"
+        android:id="@+id/root_frame"
+        android:layout_width="match_parent"
+        android:layout_height="match_parent"
+        android:layout_marginTop="?attr/actionBarSize"
+        tools:context=".ui.account_summary.AccountSummaryFragment"></FrameLayout>
 
     <android.support.design.widget.FloatingActionButton
         android:id="@+id/btn_add_transaction"