<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
androidx.appcompat.widget.LinearLayoutCompat
android:layout_width
=
"match_parent"
android:layout_height
=
"match_parent"
android:background
=
"@color/teal_200"
android:orientation
=
"vertical"
tools:context
=
".MainActivity"
>
<
EditText
android:id
=
"@+id/editText"
android:layout_width
=
"wrap_content"
android:layout_height
=
"wrap_content"
android:layout_marginStart
=
"10dp"
android:layout_marginTop
=
"20dp"
android:autofillHints
=
"@string/enter_an_amount"
android:hint
=
"@string/enter_an_amount"
android:textColor
=
"@color/black"
android:textSize
=
"30sp"
android:textStyle
=
"bold"
/>
<
TextView
android:layout_width
=
"wrap_content"
android:layout_height
=
"wrap_content"
android:layout_marginStart
=
"10dp"
android:layout_marginTop
=
"20dp"
android:text
=
"@string/amount"
android:textColor
=
"@color/black"
android:textSize
=
"30sp"
android:textStyle
=
"bold"
/>
<
Button
android:layout_width
=
"wrap_content"
android:layout_height
=
"wrap_content"
android:layout_marginStart
=
"10dp"
android:layout_marginTop
=
"20dp"
android:onClick
=
"showValue"
android:text
=
"@string/show_value"
/>
<
TextView
android:id
=
"@+id/output"
android:layout_width
=
"wrap_content"
android:layout_height
=
"wrap_content"
android:layout_marginStart
=
"10dp"
android:layout_marginTop
=
"20dp"
android:textColor
=
"@color/black"
android:textSize
=
"30sp"
android:textStyle
=
"bold"
/>
</
androidx.appcompat.widget.LinearLayoutCompat
>