VIT-AP UNIVERSITY, ANDHRA PRADESH
Lab Sheet 2 : EditText and RadioButon
Academic year: 2022-2023 Branch/ Class: B.Tech
Semester: Fall Date: 9/10/2022
Faculty Name: Mr. Kolluri Rajesh School: SCOPE
NAME: Dhyan REGNO: 20BCE7648
**********************************************************************************************************
Instructions:
• Fill your Name and REGNO.
• Complete all the programs, add the code java and XML, input and output Screenshots
after the question on the same document.
• Save this File name with your registerno_lab2
eg 18ABC1234_LAB2.doc
• Upload it in assignment ->LAB2 in MS TEAM
Lab2:
1. Design the following APP for the IOT store. The cost of Aurdino Uno is 500RS, the cost of WIFI module
is 250RS and the Bluetooth module is 200RS. Based on the quantity compute the Amount payable when
submit button is clicked, When clear is clicked clear all the Editboxes.
CODE (XML)
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.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:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="47dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="279dp"
android:layout_marginBottom="16dp"