[TIMOB-28166] Android: TableViewRow does not apply opacity to child views
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | Release 9.3.0 |
Components | Android |
Labels | n/a |
Reporter | Gary Mathews |
Assignee | Gary Mathews |
Created | 2020-10-05T01:39:19.000+0000 |
Updated | 2020-11-20T00:24:36.000+0000 |
Description
- Setting
opacity
on TableViewRow
has no effect on child views.
*TEST*
const win = Ti.UI.createWindow({ backgroundColor: 'gray' });
const row = Ti.UI.createTableViewRow({
height: 80,
opacity: 0.4,
backgroundColor: 'blue'
});
const label = Ti.UI.createLabel({
text: 'This view should be affected by row opacity',
textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER,
backgroundColor: 'red',
width: '80%',
height: '80%'
});
row.add(label);
const table = Ti.UI.createTableView({
data: [ row ]
});
win.add(table);
win.open();
*EXPECTED*
- TableViewRow
including child views, should be affected by opacity
.
*ACTUAL*
- Only the TableViewRow
background is affected by opacity
.
master: https://github.com/appcelerator/titanium_mobile/pull/12029