I have a rectangle element -
<rectangle
height= "90"
width = "1920"
color="#f5f5f5"
/>
how to add a shadow like effect to it.
Add another rectangle before it in your XML with whatever offset you want.
<rectangle
height= "90"
width = "1920"
color="#f5f5f5"
translation="[10,10]"
opacity="0.80"
/>
You'll probably want to experiment with color, translation, and opacity to get the effect you desire.
We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.
Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality.
In the meantime, for additional assistance, visit our Support Site.
We're sorry for this disruption — we’re excited to share what’s next!