Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
veerareddya
Level 7

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
EnTerr
Level 9

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

For posterity, see answer by @RomanPodymov on SO
0 Kudos