Question: Question Four ( 1.5 Marks Write the activation code of the following android application activity in order that when a user presses the ADD button

Question Four ( 1.5 Marks Write the activation code of the following android application activity in order that when a user presses the ADD button the sum of the two numbers in (txtnum 1, txtnum2) will appear in (txtviewresult). Also, the activity should accept floating- point numbers. (Hint: to parse String to Float use "Float parseFloat") Addition Layout: "activity_main" Addition Number One Id: "txtnum1" Number Two Id: "txtnum2" ADD 100.0 Id: 'addbutton" Id: "txtviewresult
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
