![]() Ii of Step 3 – Then before closing the above layout define another layout as Linearlayout horizontal, add five button ( +, -, *, / and Clear) define their properties like id, width, height etc. I of Step 3 – Create a Linearlayout vertical, add a textview followed by two textfields Number(decimal) for writing numbers in it. Here we are going to create the application interface like add layouts, Button, TextView and EditText. ![]() Step 3: Open res -> layout -> activity_main.xml (or) main.xml. Step 2: Create a new project and name it Calculator.
0 Comments
Leave a Reply. |