]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/app_bar_latest_transactions.xml
home is account summary, latest transactions is a new item
[mobile-ledger.git] / app / src / main / res / layout / app_bar_latest_transactions.xml
index 96b62fd4dfefcfdd878290fb4cfac5f1816c85c1..05591be85f231911526653657b7756fc6a9834a2 100644 (file)
@@ -4,7 +4,7 @@
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    tools:context=".LatestTransactions">
+    tools:context=".AccountSummary">
 
     <android.support.design.widget.AppBarLayout
         android:layout_width="match_parent"
@@ -20,7 +20,7 @@
 
     </android.support.design.widget.AppBarLayout>
 
-    <include layout="@layout/content_latest_transactions" />
+    <include layout="@layout/content_account_summary" />
 
     <android.support.design.widget.FloatingActionButton
         android:id="@+id/btn_add_transaction"
@@ -28,6 +28,7 @@
         android:layout_height="wrap_content"
         android:layout_gravity="bottom|end"
         android:layout_margin="@dimen/fab_margin"
+        android:onClick="fab_new_transaction_clicked"
         app:backgroundTint="@color/colorPrimary"
         app:srcCompat="@drawable/svg_thick_plus_white" />