Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27963] Android: Always specify default Tab.tintColor

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2020-07-15T21:46:02.000+0000
Affected Version/sRelease 9.0.3
Fix Version/sRelease 9.1.0
ComponentsAndroid
Labelsregression
ReporterGary Mathews
AssigneeGary Mathews
Created2020-06-16T23:08:49.000+0000
Updated2020-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.

Comments

  1. Gary Mathews 2020-06-16

    master: https://github.com/appcelerator/titanium_mobile/pull/11777
  2. Satyam Sekhri 2020-06-24

    FR Passed. Waiting for Jenkins build
  3. Christopher Williams 2020-06-29

    merged to master for 9.1.0 target
  4. Satyam Sekhri 2020-07-15

    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

JSON Source