<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout 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"
    tools:context="com.nauk.moodl.Activities.RecordTransactionActivity">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:layout_margin="5dp">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="5dp">

            <Button
                android:id="@+id/buyButton"
                android:layout_width="0dp"
                android:layout_height="match_parent"
                android:layout_weight="0.3"
                android:text="@string/buyText"
                android:background="@drawable/button_buy"
                android:layout_marginEnd="2.5dp"
                android:enabled="false"
                android:textColor="@color/white" />

            <Button
                android:id="@+id/sellButton"
                android:layout_width="0dp"
                android:layout_height="match_parent"
                android:layout_weight="0.3"
                android:text="@string/sellText"
                android:background="@drawable/button_sell"
                android:layout_marginStart="2.5dp"
                android:layout_marginEnd="2.5dp"
                android:textColor="@color/white"
                android:enabled="true" />

            <Button
                android:id="@+id/transfertButton"
                android:layout_width="0dp"
                android:layout_height="match_parent"
                android:layout_weight="0.3"
                android:text="@string/transferText"
                android:background="@drawable/button_transfer"
                android:layout_marginStart="2.5dp"
                android:textColor="@color/white"
                android:enabled="true" />

        </LinearLayout>

        <TextView
            android:id="@+id/currencySymbol"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textSize="25dp"/>

        <android.support.design.widget.TextInputLayout
            android:id="@+id/input_currency_amount"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

            <EditText
                android:id="@+id/currencyAmount"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:hint="@string/activity_add_amount"
                android:inputType="numberDecimal"/>

        </android.support.design.widget.TextInputLayout>

        <android.support.design.widget.TextInputLayout
            android:id="@+id/input_purchase_date"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

            <EditText
                android:id="@+id/purchaseDate"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:hint="@string/activity_purchased_date"
                android:focusable="false"/>

        </android.support.design.widget.TextInputLayout>

        <android.support.design.widget.TextInputLayout
            android:id="@+id/input_purchase_price"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

            <EditText
                android:id="@+id/purchasePrice"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:hint="@string/activity_purchased_price"
                android:inputType="numberDecimal" />

        </android.support.design.widget.TextInputLayout>

        <android.support.design.widget.TextInputLayout
            android:id="@+id/input_fees"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:visibility="gone">

            <EditText
                android:id="@+id/feesTextView"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:hint="@string/activity_fees"
                android:inputType="numberDecimal" />

        </android.support.design.widget.TextInputLayout>

    </LinearLayout>

</android.support.constraint.ConstraintLayout>
