attach script to button android studio code example Example: button android stdui Button b = findById();