This is an android application development assignment with java!!!! Question: My ATM (100 points) To answer this questio
Posted: Sun May 15, 2022 7:55 am
This is an android application development assignment
with java!!!!
Question: My ATM (100 points) To answer this question, please
create an application called MyATM which includes the following
features:
1) The ATM should have an “Account” label and showing a positive
default value. In the following example, the default value is 3000.
You can have your own default value.
2) Add “Money in Hand” label showing the money you have in your
pocket.
3) Add a button called “Withdraw”. A sample view layout is shown
below (Please make sure all UI widgets are placed at reasonable
place, do not place them randomly):
4) When the “Withdraw” button is clicked, the value from “Bank
Account” will be subtracted by 1000, and the value “Money In Hand”
will be increased by 1000. Thus, you need to create a new class
called “Withdraw.java” to handle the withdraw functionality. Note
that the user can only perform the withdraw operation when the bank
account holds at least 1000.
5) Add another button called “Deposit” next to the “Withdraw”
button and when it is clicked the value in “Bank Account” will be
increased by 1000 and the “Money In Hand” will be decreased by
1000. Note that you need to also provide Deposit.java and handling
similar issue that the withdraw function has.
6) Add a spinner anywhere on the screen for allowing user to
change the withdraw and deposit value. For example, if a user
selects 500 and clicks on the deposit or the withdraw button, the
money exchange will be based on 500 instead of 1000. Note that the
spinner should have at least 3 values
4:17 AM No SIM card 4 100% 4:18 AM No SIM card 4 100% MyATM MyATM Account: 3000 Account: 2000 Money In Hand: 0 Money In Hand: 1000 DEPOSIT WITHDRAW DEPOSIT WITHDRAW
with java!!!!
Question: My ATM (100 points) To answer this question, please
create an application called MyATM which includes the following
features:
1) The ATM should have an “Account” label and showing a positive
default value. In the following example, the default value is 3000.
You can have your own default value.
2) Add “Money in Hand” label showing the money you have in your
pocket.
3) Add a button called “Withdraw”. A sample view layout is shown
below (Please make sure all UI widgets are placed at reasonable
place, do not place them randomly):
4) When the “Withdraw” button is clicked, the value from “Bank
Account” will be subtracted by 1000, and the value “Money In Hand”
will be increased by 1000. Thus, you need to create a new class
called “Withdraw.java” to handle the withdraw functionality. Note
that the user can only perform the withdraw operation when the bank
account holds at least 1000.
5) Add another button called “Deposit” next to the “Withdraw”
button and when it is clicked the value in “Bank Account” will be
increased by 1000 and the “Money In Hand” will be decreased by
1000. Note that you need to also provide Deposit.java and handling
similar issue that the withdraw function has.
6) Add a spinner anywhere on the screen for allowing user to
change the withdraw and deposit value. For example, if a user
selects 500 and clicks on the deposit or the withdraw button, the
money exchange will be based on 500 instead of 1000. Note that the
spinner should have at least 3 values
4:17 AM No SIM card 4 100% 4:18 AM No SIM card 4 100% MyATM MyATM Account: 3000 Account: 2000 Money In Hand: 0 Money In Hand: 1000 DEPOSIT WITHDRAW DEPOSIT WITHDRAW