summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_create_payment.xml
blob: 2549e91908238b19f090fb3642195f1114d7065a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
             xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"
             android:layout_width="match_parent"
             android:layout_height="match_parent"
             tools:context=".CreatePayment">

    <LinearLayout
            android:orientation="vertical"
            android:paddingLeft="16dp"
            android:paddingRight="16dp"
            android:paddingBottom="16dp"
            android:paddingTop="16dp"
            android:layout_width="match_parent"
            android:layout_height="match_parent">

        <Space
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_weight="0.5"/>

        <TextView
                android:text="Payment Subject"
                android:layout_width="match_parent"
                android:layout_height="wrap_content" android:id="@+id/textView5"/>

        <EditText
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:inputType="textPersonName"
                android:text="Payment Subject"
                android:ems="10"
                android:layout_gravity="top"
                android:id="@+id/editText5"/>
        <TextView
                android:text="Amount (TESTKUDOS)"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:id="@+id/textView6"/>
        <EditText
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:inputType="numberDecimal"
                android:ems="10"
                android:id="@+id/editText6" android:layout_weight="0" android:text="10"/>
        <Space
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_weight="1"/>

        <Button
                android:text="Request Payment"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:id="@+id/button_request_payment"
                android:layout_gravity="right"/>
    </LinearLayout>
</FrameLayout>