47 lines
1.6 KiB
XML
47 lines
1.6 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:orientation="vertical"
|
||
|
android:paddingLeft="10dp"
|
||
|
android:paddingRight="10dp"
|
||
|
android:paddingTop="10dp">
|
||
|
|
||
|
<RelativeLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_alignParentStart="true"
|
||
|
android:layout_alignParentTop="true">
|
||
|
|
||
|
<EditText
|
||
|
android:id="@+id/fromText"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:ems="10"
|
||
|
android:inputType="text"
|
||
|
android:text="from" />
|
||
|
|
||
|
<EditText
|
||
|
android:id="@+id/toText"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_alignParentBottom="false"
|
||
|
android:layout_alignParentRight="true"
|
||
|
android:ems="10"
|
||
|
android:inputType="text"
|
||
|
android:text="to"
|
||
|
android:textAlignment="textEnd" />
|
||
|
|
||
|
<EditText
|
||
|
android:id="@+id/amountText"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_alignWithParentIfMissing="false"
|
||
|
android:layout_below="@+id/fromText"
|
||
|
android:layout_centerHorizontal="true"
|
||
|
android:ems="10"
|
||
|
android:gravity="center"
|
||
|
android:inputType="number"
|
||
|
android:text="amount" />
|
||
|
</RelativeLayout>
|
||
|
</LinearLayout>
|