The question is theoretical. There is a need to display the Start / Pause button. There are two options for the development of events.

Option 1: create one button and change the text by clicking along with the controller.

Option 2: create two buttons and click to hide one, display the second.

Which option is more advantageous and why?

    1 answer 1

    First option. Because play / pause is an analogue checkbox, showing the state of "playing-not playing" and it is better to implement it. Moreover, all known players do so.

    • so what's the gain? - morethanfish
    • one
      @morethanfish, fewer buttons - less space on the screen is busy, less need to draw, UI is more familiar to the average user - YuriySPb