Android Example Widget Layout Background

I'm just trying to add a background image to the 4x1 widget from the following excellent thread:

But the Labels does not shown, can somebody illustrate the issue 👍

I just made the following:
1. Add Imageview to the panel on 4x1.bal file.
2. Add ImageView to the manifest: CreateResource(layout, widget_4x1_layout.xml, ...
3. Add style to set alpha and scaleType, saved to res/values/style.xml (read-only)

See the attached example.

Thanks in advance 🙏


  • Widget
    193.5 KB · Views: 86


Licensed User
Longtime User
I updated the example in that thread with a probably partial solution.
You can check if it help.