veerareddya
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2016
02:39 AM
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]
ProgressDialogExample.Xml
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>
1 REPLY 1
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2016
01:21 PM
Re: How to control the background opacity of progress dialog in Roku scene graph?
For posterity, see answer by @RomanPodymov on SO