tabview = lv_tabview_create(lv_scr_act(), NULL);
lv_obj_add_style(tabview,LV_TABVIEW_PART_TAB_BTN,&style1);
lv_obj_add_style(tabview,LV_TABVIEW_PART_TAB_BG,&style1);
lv_obj_add_style(tabview,LV_TABVIEW_PART_BG_SCRLLABLE,&style1);
lv_obj_add_style(tabview,LV_TABVIEW_PART_INDIC,&style1);
lv_obj_add_style(tabview,LV_TABVIEW_PART_TAB_BG,&style1);
// lv_tabview_set_btns_pos(tabview, LV_TABVIEW_TAB_POS_NONE);
/*Add 3 tabs (the tabs are page (lv_page) and can be scrolled*/
/*Add content to the tabs*/
lv_obj_t * label = lv_label_create(tab1, NULL);
lv_obj_add_style(label,LV_OBJ_PART_MAIN,&style);
lv_label_set_text(label, "This the first tab\n\n"
"If the content\n"
"of a tab\n"
"become too long\n"
"the it \n"
"automatically\n"
"become\n"
"scrollable.");