Hi All,
I have been trying to figure this out, I have a lottie file where I want to add as a splash screen; however it is not covering the whole area in fullscreen.
Below is the code I am using:
Attached is the output screenshot
I have been trying to figure this out, I have a lottie file where I want to add as a splash screen; however it is not covering the whole area in fullscreen.
Below is the code I am using:
B4X:
Dim AXrLottie As AXrLottie
AXrLottie.Initialize
LottieView.Initialize("")
Activity.LoadLayout("splashlayout")
Activity.AddView(LottieView,0,0,100%x,100%y)
Dim Drawable As AXrLottieDrawableBuilder
Drawable.InitializeFromFile(File.DirAssets,"alkanto2.json") _
.SetSize(1440,3040) _
.SetAutoStart(True) _
.SetCacheEnabled(True) _
.SetSpeed(0.8)
LottieView.SetLottieDrawable(Drawable.Build)
LottieView.GetLottieDrawable.AutoRepeat = 1
Attached is the output screenshot