Obtains the Android resource id for the button being controlled.
-1 if the controller is not managing an valid Android button, the resource id otherwise.