Is it possible to hide lines in lv_list?

Just as the title.Is it possible to hide lines in lv_list?

Of course!

If you look at the material theme you can see that it uses the bottom border to display the line.

You just need to add a new style to each list button’s LV_BTN_PART_MAIN part.

/* Only needs to be done once */
static lv_style_t btn_style;
lv_style_set_border_width(&btn_style, LV_STATE_DEFAULT, 0);
/* Should be repeated for each button */
lv_obj_t * list_btn = lv_list_add_btn(list, NULL, "Hello");
lv_obj_add_style(list_btn, LV_BTN_PART_MAIN, &btn_style);