[TIMOB-26817] Android: Add parity for Window's barColor property.
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-03-01T15:12:12.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 8.1.0 |
Components | Android |
Labels | NavigationWindow, actionbar, android, color, parity, titlebar |
Reporter | Rene Pot |
Assignee | Yordan Banev |
Created | 2019-02-11T16:19:49.000+0000 |
Updated | 2019-03-01T15:12:12.000+0000 |
Description
*Summary:*
On Android, add
Ti.UI.Window
"barColor" property for setting the window's top title bar color (ie: its ActionBar or top Toolbar). This is for parity with iOS' NavigationWindow
title bar.
*Work-Around:*
Currently, the only way to set title bar color on Android is via a theme/style XML file as show in the link below.
https://github.com/appcelerator/kitchensink-v2/blob/master/app/platform/android/res/values/custom_theme.xml
PR: https://github.com/appcelerator/titanium_mobile/pull/10693
Closing ticket, fix verified in SDK version
8.1.0.v20190301040201
. Test and other information can be found at: https://github.com/appcelerator/titanium_mobile/pull/10693