Moving Screens. Keeping Notification Bar

I want to move from Screen1 to Screen2 using a Move to left animation. However, i don’t want the bar moving with it. Is it possible to do this without moving the bar? I also don’t want multiple Widgets with animations in 1 screen as this is really thought to handle.

Please let me know
Thanks

To keep the bar in place you should apply a little bit of LVGL code after the exporting the UI code.

LVGL has a top layer widget which is always visible above all screens. Unfortunately, it’s not supported in SLS yet, but as a workaround you can do the following:

  1. Create the header only on Home Screen
  2. After ui_init() call lv_obj_set_parent(ui_Header, lv_layer_top())
2 Likes