May 25, 2024 Replies: 1 I'm just trying to add a background image to the 4x1 widget from the following excellent thread: https://www.b4x.com/android/forum/threads/widget-layout-resizable-adaptive.115638/#post-989760 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 ? Attachments Widget Test.zip Widget Test.zip 193.5 KB · Views: 587 Click to expand...
I'm just trying to add a background image to the 4x1 widget from the following excellent thread: https://www.b4x.com/android/forum/threads/widget-layout-resizable-adaptive.115638/#post-989760 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 ?
Sagenut Expert Licensed User Longtime User May 28, 2024 #2 I updated the example in that thread with a probably partial solution. You can check if it help.