<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) Mattia Barbon <mattia@barbon.org>
     distributed under the terms of the MIT license -->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fillViewport="true"
    >
  <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      >
      <org.barbon.acash.ExpenseView
          android:id="@+id/expense_view"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          />

    <LinearLayout
        android:orientation="horizontal"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_weight="1"
        android:gravity="bottom|right">
      <Button
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/from_expense_template"
          />
      <Button
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/add_expense"
          android:onClick="onAddExpense"
          />
    </LinearLayout>
  </LinearLayout>
</ScrollView>

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) Mattia Barbon <mattia@barbon.org>
     distributed under the terms of the MIT license -->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fillViewport="true"
    >
  <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      >
      <org.barbon.acash.ExpenseView
          android:id="@+id/expense_view"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          />

    <LinearLayout
        android:orientation="horizontal"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_weight="1"
        android:gravity="bottom|right">
      <!--Button
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/from_expense_template"
          /-->
      <Button
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/add_expense"
          android:onClick="onAddExpense"
          />
    </LinearLayout>
  </LinearLayout>
</ScrollView>

Hide the 'from template' button until templates are implemented.
Hide the 'from template' button until templates are implemented.
