Let's design the screen that will accept the factors of the model we created as input. The screen will have seven input boxes to accept the factors, one button, and an output textbox to display the predicted result:
Traverse to the layout folder in res and select the activity_layout.xml file to open in the editing panel. Choose the Text option at the bottom to view the existing XML for the layout:
Now, replace the existing XML code with the new design template for the app. Please refer to the activity_layout.xml ...