lv_scr_load_anim() function
Switch screen with animation
Arguments
scr
pointer to the new screen to load
anim_type
type of the animation from `lv_scr_load_anim_t`, e.g. `LV_SCR_LOAD_ANIM_MOVE_LEFT`
time
time of the animation
delay
delay before the transition
auto_del
true: automatically delete the old screen