ToggleButton
ToggleButton copied to clipboard
ToggleButton can't work in RelativeLayout or it‘s child
将ToggleButton 放在RelativeLayout 中 会显示成垂直的样式,同样,在ToggleButton外围包裹一层LinearLayout,无法工作正常
Example:
[RelativeLayout] [LinearLayout] [ToggleButton/] [/LinearLayout] [/RelativeLayout]
你说的这种情况我测试了但未能重现,请问你的硬件和系统版本是多少呢?