Button Click tutorials on the following: 1) Setting onClickListener inside onCreate 2) Creating a Click Procedure and putting its name inside the onClick parameter of its XML
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.