XWidgetSoft Forum https://bbs.xwidget.com/ |
|
Create "MULTI-BACKGROUND" widget with menuItems https://bbs.xwidget.com/viewtopic.php?f=23&t=5310 |
Page 1 of 1 |
Author: | Tony [ November 29th, 2014, 8:16 pm ] |
Post subject: | Create "MULTI-BACKGROUND" widget with menuItems |
[Tutorial] How to change widget background with menuItem We can change widget's background image with last version of XWidget(etc: v1.07) Demo widget download: iCalendar3(2).xwp [326.9 KiB] Downloaded 372 times with the "iCalendar 3" demo widget ,wo can show how the new "muti-background" function works. 1. Create MenuItem in WidgetDesigner, set the click action etc: !ChangeImgSrc=bg,bg2.png , the "bg" is the Image Control name, and the "bg2.png" is the new image file name changeImgSrc.jpg [ 373.32 KiB | Viewed 4245 times ] 2. Send this widget to your android phone and click it to show these two Menuitem MenuItems.jpg [ 284.57 KiB | Viewed 4245 times ] 3. click menuitem then the image control "bg" will load the bg2.png MultiBackground.jpg [ 434.41 KiB | Viewed 4245 times ] |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |