‫Welcome back.
‫Now let's design the layout of the second activity.
‫At first I need to create a second activity.
‫Click on this package new activity empty views activity.
‫I'll name it as second activity and the layout keep it activity underscore second and the source is
‫Kotlin.
‫Click finish.
‫Go to activity underscore second go split mode.
‫And this is our second activity layout.
‫Then I need to create the views.
‫I'll start with the title which is a text view.
‫And I'll, uh, make a text just to display it here.
‫Your lottery numbers infer the constraints and this is good.
‫Then I'll create and set the background for this layout to back to, which is the image that I copied
‫into the drawable folder.
‫Before I can drag and drop it above.
‫And this is good.
‫Now let's create another text view to display the result.
‫And this is our text.
‫Drag and drop it to here and infer the constraints.
‫And this is good.
‫This is our text that will display the random numbers generated by this application.
‫Also I will create another button just to share the result.
‫Drag and drop it below this text and infer the constraints.
‫And this is good.
‫This is our layout for the second activity.