[TIMOB-934] Android: Setting backgroundImage does not invalidate
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:54:42.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | Android |
Labels | android, defect |
Reporter | Don Thorp |
Assignee | Bill Dawson |
Created | 2011-04-15T02:39:36.000+0000 |
Updated | 2011-04-17T01:54:42.000+0000 |
Description
Changing the background after assigning a new image does not draw correctly.
button.backgroundImage = iconPath;
Update support item http://helpdesk.appcelerator.net/tickets/2418">http://helpdesk.appcelerator.net/tickets/2418 on completion.
backgroundColor needs to be invalidated as well. http://helpdesk.appcelerator.net/tickets/2628">http://helpdesk.appcelerator.net/tickets/2628
border properties too.
(from [c96f89b0d2dac351508ef20c13869fa458c4a22e]) [#934 state:open] changes to reflect background changes after creation. Selected state still doesn't draw correctly yet on button http://github.com/appcelerator/titanium_mobile/commit/c96f89b0d2dac351508ef20c13869fa458c4a22e"> http://github.com/appcelerator/titanium_mobile/commit/c96f89b0d2dac...
(from [757ad7c739ae5f70b9e762eff2edac31738a4fe2]) [#924 state:fixed-in-qa][#934 state:fixed-in-qa][#1716 state:fixed-in-qa][#1718 state:fixed-in-qa] added support for focusable and background color states. Fixed issues where stateful backgrounds were not triggering the custom background handler http://github.com/appcelerator/titanium_mobile/commit/757ad7c739ae5f70b9e762eff2edac31738a4fe2"> http://github.com/appcelerator/titanium_mobile/commit/757ad7c739ae5...
1.6 G1, 2.2 sim, ios 4.1