离线
void lv_test()
{
lv_obj_t* main_cont = lv_obj_create(lv_scr_act());
lv_obj_set_size(main_cont, lv_pct(100), lv_pct(100));
/*Create a container for the player*/
lv_obj_t * player = lv_obj_create(main_cont);
lv_obj_set_y(player, - LV_DEMO_MUSIC_HANDLE_SIZE);
lv_obj_set_size(player, LV_HOR_RES, LV_VER_RES + LV_DEMO_MUSIC_HANDLE_SIZE * 2);
}
跟踪了半天,是这样吗?
离线