0

I'm reading some post over this site to do a multi state toggle button. The most interesting post is this: Multi-State Toggle Button but the maximum states are 3, onAutomatic, onOn, onOff. I need 4 states.

I want to put a button with 4 possible images, MAN ICON, BLACK MAN ICON, WOMAN and BLACK WOMAN.

I don't know how to reach this. Can anyone help me with this?

Thanks

Community
  • 1
  • 1
Víctor Martín
  • 3,352
  • 7
  • 48
  • 94

1 Answers1

0

You can divide the above states as :

  1. MAN
    • MAN ICON
    • BLACK MAN ICON
  2. WOMAN
    • WOMAN
    • BLACK WOMAN

now create a simple button with checked and unchecked state as Man And Woman and divide it into further two using selected and unselected states which will give you four states.

  • Checked-selected
  • checked-unselected
  • unchecked-selected
  • unchecked-unselected