Android Advance Go Back Creating Buttons in app. views 7:23 Now let us add a reset button to the app. If we would like to restart the game while playing, this button will be used. So let us start. Drag and drop a button from the palette. Set its id as button_reset from the attribute pane. Select the option wrap_content for both layout_width and layout_height and provide the value ‘Reset’ for the text. Activities, Intents and Activity lifecycle Showing User Name in login page. Creating Buttons in app. Creating a Function for Buttons. Creating Conditional Function.