Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--Android Studio-->
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.constraint.ConstraintLayout 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=".MainActivity">
- <!--<TextView-->
- <!--android:layout_width="wrap_content"-->
- <!--android:layout_height="wrap_content"-->
- <!--android:text="Hello World!"-->
- <!--app:layout_constraintBottom_toBottomOf="parent"-->
- <!--app:layout_constraintLeft_toLeftOf="parent"-->
- <!--app:layout_constraintRight_toRightOf="parent"-->
- <!--app:layout_constraintTop_toTopOf="parent" />-->
- <TableLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <TextView
- android:id="@+id/textView"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="USD" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <EditText
- android:id="@+id/USD"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:ems="10"
- tools:layout_editor_absoluteX="0dp"
- tools:layout_editor_absoluteY="35dp" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
- <TextView
- android:id="@+id/textView3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="THB" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
- <EditText
- android:id="@+id/THB"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:ems="10"
- tools:layout_editor_absoluteX="27dp"
- tools:layout_editor_absoluteY="235dp" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
- <Button
- android:id="@+id/submit"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Convert" />
- <Button
- android:id="@+id/clear"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Clear" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <TextView
- android:id="@+id/textView5"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Result" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
- <EditText
- android:id="@+id/result"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:ems="10"
- tools:layout_editor_absoluteX="27dp"
- tools:layout_editor_absoluteY="235dp" />
- </TableRow>
- </TableLayout>
- </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement