Android development study notes (16) switch button

Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

Insert picture description here
Insert picture description here
Insert picture description here
ToggleButton is a button that displays the status with a line.
Switch is a switch button. It seems that Switch is more practical. The usage of the two is almost the same. See the figure above.

Guess you like

Origin blog.csdn.net/qq1198768105/article/details/113838339