Modifying widgets in an alloy project
问题 I have a widget which is a photo gallery. It's basic functionality means that it only allows the user to click on a thumbnail and then enlarge/de enlarge upon an onclick event. I need to expand the widget so that there is a button which allows the user to change their profile pictures accordingly (if they select that picture). Here is how the code looks by default in widget.js: var topView = Ti.UI.createView({ width:Ti.UI.FILL, height: Ti.UI.FILL, zIndex:1200, visible:false }); // this gets