Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-934] Android: Setting backgroundImage does not invalidate

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:54:42.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsAndroid
Labelsandroid, defect
ReporterDon Thorp
AssigneeBill Dawson
Created2011-04-15T02:39:36.000+0000
Updated2011-04-17T01:54:42.000+0000

Description

Changing the background after assigning a new image does not draw correctly.

button.backgroundImage = iconPath;

Comments

  1. Don Thorp 2011-04-15

    Update support item http://helpdesk.appcelerator.net/tickets/2418">http://helpdesk.appcelerator.net/tickets/2418 on completion.

  2. Don Thorp 2011-04-15

    backgroundColor needs to be invalidated as well. http://helpdesk.appcelerator.net/tickets/2628">http://helpdesk.appcelerator.net/tickets/2628

  3. Don Thorp 2011-04-15

    border properties too.

  4. Don Thorp 2011-04-15

    (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...

  5. Don Thorp 2011-04-15

    (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...

  6. Thomas Huelbert 2011-04-15

    1.6 G1, 2.2 sim, ios 4.1

JSON Source