bar1 = lv.bar(lv.scr_act()) bar1.set_size(200, 30) bar1.align(None, lv.ALIGN.CENTER, 0, 0) bar1.set_anim_time(1000) bar1.set_value(100, lv.ANIM.ON)