Sunday, May 1, 2016

One Button, Two Actions

I was so stunned when I saw the above UI during one of my project development recently.

One button with two actions? Round corner some more. >.<

I never see such a button in any mobile app before, it totally violent the Android app design guideline.

Anyway, I end up using a custom layout "one_button_two_actions.xml" to achieve it.