Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
veerareddya
Visitor

How to control the background opacity of progress dialog in Roku scene graph?

I am using main.brs code to show the progress loading dialog . If i use this code for progress dialog then its default background is occupying complete screen. here i want to show only progress loading animation and background should be little transparent. could anyone please help on this.
Main.brs
[/font][/size][/color]
ShowLoading = CreateObject("roSGScreen")
ShowLoading.CreateScene("ProgressDialogExample")
ShowLoading.show()




ProgressDialogExample.Xml



<component name = "ProgressDialogExample" extends = "Scene">

 <script type = "text/brightscript" >
   <![CDATA[
   sub init()
       progressdialog = createObject("roSGNode", "ProgressDialog")
       progressdialog.title = "Loading..."
       m.top.dialog = progressdialogs
       m.top.setFocus(true)
   end sub
   ]]>
 </script>
</component>
0 Kudos
1 REPLY 1
EnTerr
Roku Guru

Re: How to control the background opacity of progress dialog in Roku scene graph?

For posterity, see answer by @RomanPodymov on SO
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.