Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-924] backgroundSelectedImage isn't working

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:54:41.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsAndroid
Labelsandroid, defect
ReporterTony Guntharp
AssigneeDon Thorp
Created2011-04-15T02:39:17.000+0000
Updated2011-04-17T01:54:41.000+0000

Description

On android in the last 1.3 mobile SDK backgroundSelectedImage doesn't appear to be working. Using the following code:

var account_button = Titanium.UI.createButton({

name: 'Foo',
backgroundImage:'images/off.png',
backgroundSelectedImage:'images/on.png',

});

the button image should change when selected and it's not.

Comments

  1. Marshall Culpepper 2011-04-15

    Support Issue #2277 also references this defect.. (update when fixed)

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

  3. Thomas Huelbert 2011-04-15

    android nexus 1 (2.2), simulator 1.6. iOS ipod touch and simulator

  4. Thomas Huelbert 2011-04-15

    As the link referenced (#2277) did not resolve (I checked for a helpdesk ticket as well), I have not update the relevant ticket.

JSON Source