

We’ve added two widgets: EditText and Button. Now, for the Button, add the following code right after the EditText code.: Ideally, it should be big and have lots of space since it is the main part of our app. I’ll be illustrating the code part of it since it is easy to explain in a textual tutorial.įirst, the EditText. Android Studio provides an intuitive drag and drop interface to design app visuals. As you might have observed earlier, the designing part of an activity is done using XML. Let’s move forward to the designing part. In this app, we’ll be working with a single activity.


