Overlay on all screens

Is there a way to write a simple text overlay on all screens, without having to create a widget on each screen?

Check here:

LVGL Layers

Just use lv_layer_top() as the parent for an object to place it on top of all screens on that display, eg:

lv_obj_t * label = lv_label_create(lv_layer_top());
lv_label_set_text(label, "I'm blocking your screens!");
lv_obj_center(label);

Many Thanks!
:pray:

1 Like