lv_xml_update.h

Functions

lv_result_t lv_xml_update_from_data(const char *xml_def)

Load the styles, constants, another data of the component. It needs to be called only once for each component.

Parameters:

xml_def – the XML definition of the component as a NULL terminated string

Returns:

LV_RES_OK: loaded successfully, LV_RES_INVALID: otherwise