1.开关(lv_switch) 开关看起来像一个小滑块,开关的功能类似于按钮,也可以用来打开和关闭某些东西。 创建开关的方法: lv_obj_t * sw = lv_switch_create(parent); 2.零件和样式