0

I am working on Roku app using Scene Graph component. In my application when i launch application then showing black screen on few seconds between the splash screen to the main screen but i want showing loader in between screen. it is possible in Scene Graph? Please provide suggestion to resolve it.

Balbant Singh
  • 187
  • 1
  • 10

2 Answers2

2

This is a known bug. To fix this just add

splash_rsg_optimization=1

to your manifest file.

U.Mitic
  • 744
  • 1
  • 6
  • 14
1

To accomplish this in a recent work I added a progress dialog at the scene.xml (last component to be on top of everything) with a transparent background and by default the visible property is true.

<ProgressDialog
  id="ProgressDialog"
  title=""
  backgroundUri="pkg:/images/dialog-transparent.png"
  visible="true" />

When the content finishes loading I just hide it

  m.ProgressDialog.visible = false