


From the Palette, drag and drop an EditText (Plain Text) and a Button view component in the LinearLayout component.Then you can add the LinearLayout component in the root ConstraintLayout. Now you can see the activity java file and the layout XML file in the left tree panel, double click the layout XML file, click the bottom Design tab.

Input the activity name and layout name or you can use the default name generated automatically.Right-click the android project name, click the ” New -> Activity -> Empty Activity ” menu item to create a new activity.If the user inputs a web page URL in the top input text box, when he click the BROWSE button or press enter key, the app will open a web browser to browse the url page. Below is the UI when this app startup, you can see there are two view components, one is an input text box the other is a button.
