[TIMOB-27963] Android: Always specify default Tab.tintColor
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2020-07-15T21:46:02.000+0000 |
| Affected Version/s | Release 9.0.3 |
| Fix Version/s | Release 9.1.0 |
| Components | Android |
| Labels | regression |
| Reporter | Gary Mathews |
| Assignee | Gary Mathews |
| Created | 2020-06-16T23:08:49.000+0000 |
| Updated | 2020-07-15T21:46:02.000+0000 |
Description
- Always specify default
tintColor for tabs
*TEST CASE*
const tabGroup = Ti.UI.createTabGroup({
// style: Ti.UI.Android.TABS_STYLE_BOTTOM_NAVIGATION,
// tintColor: '#bbb' // NOTE: Workaround for 9.0.3
});
const tabWin_home = Ti.UI.createWindow({
title: 'Home',
backgroundColor: 'white'
});
const tab_home = Ti.UI.createTab({
title: 'Home',
window: tabWin_home
});
const tabWin_chat = Ti.UI.createWindow({
title: 'Chat',
backgroundColor: 'white'
});
const tab_chat = Ti.UI.createTab({
title: 'Chat',
window: tabWin_chat
});
tabGroup.addTab(tab_home);
tabGroup.addTab(tab_chat);
tabGroup.open();
- Unselected tab text and icon should be dimmer than selected tab.
master: https://github.com/appcelerator/titanium_mobile/pull/11777
FR Passed. Waiting for Jenkins build
merged to master for 9.1.0 target
Default tint color is set on tabs in tabgroup. Verified on: Mac OS: 10.15.4 SDK: 9.1.0.v20200715060819 Appc CLI: 8.0.0 JDK: 11.0.4 Node: 10.17.0 Studio: 6.0.0.202005141803 Device: Nexus4(v5.1.1) device, Pixel3(v10.0) emulator