SwitchButton v2.0.0 Release Notes

  • ENG

    1. Re-clarify the meaning of some params. ⚡️ 2. Update the measurement of SwitchButton and the logic becomes more clear, especially the text part. 👍 3. Support config SwitchButton's size by setting a exact width and height. There are now TWO mainly method to control it's size.

    CHN

    1. 重新明确了参数的含义。
    2. 更新了SwitchButton的测量机制,逻辑更加清晰;尤其是文字部分。
    3. 支持设置确定的宽高,来确定SwitchButton的View大小。现在有两种方式可以控制SwitchButton的大小了。