[TIMOB-26512] Android: setting one of the color states may break the default background
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 8.0.0, Release 7.5.0 |
Fix Version/s | n/a |
Components | Android |
Labels | engSchedule, regression |
Reporter | Yordan Banev |
Assignee | Unknown |
Created | 2018-11-02T16:49:09.000+0000 |
Updated | 2019-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();
No comments