Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26512] Android: setting one of the color states may break the default background

GitHub Issuen/a
TypeBug
PriorityMedium
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 8.0.0, Release 7.5.0
Fix Version/sn/a
ComponentsAndroid
LabelsengSchedule, regression
ReporterYordan Banev
AssigneeUnknown
Created2018-11-02T16:49:09.000+0000
Updated2019-12-12T20:24:36.000+0000

Description

Defining only a "special" color state (backgroundFocusedColor, backgroudDisabledColor or backgroundSelectedColor) without the default backgroundColor for a View results in a view with a transparent background. This is sort of a "partial regression" meaning that 7.5.0 exposed it through the backgroundDisabledColor fix, but it was the same for the other two properties before that. sample:
var win = Ti.UI.createWindow(),
    button = Ti.UI.createButton({
        backgroundSelectedColor: 'red',
        title: 'Button',
        width: 100,
        height: 100
    });

win.add(button);
win.open();

Comments

No comments

JSON Source