title: How to use else if statement in button in Android studio java
body: <p>I want to know if we can use if else statements in button
  For example - if pressed button x something happen
  Or
  If pressed button y something else happens</p>