Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17858] Android: add ability to Change action bar title color in code

GitHub Issuen/a
TypeImprovement
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.4.0
Fix Version/sn/a
ComponentsAndroid
LabelsTCSupport
ReporterAndrey Pervushin
AssigneeUnknown
Created2014-10-14T09:59:42.000+0000
Updated2018-02-28T20:03:37.000+0000

Description

Since we have ability to change android action bar backgroundImage it's make styling issue if we don't have ability to change it's title text color activity.actionBar.backgroundImage = 'http://walls4joy.com/thumbs/general/gradient-274349-480x320.png'; if user choose dark image, it's hard to read title also what about activity.actionBar.backgroundColor property

Attachments

FileDateSize
Снимок экрана 2014-10-14 в 12.58.42.png2014-10-14T10:05:40.000+000050719

Comments

  1. Andrey Pervushin 2014-11-28

    any news on that?
  2. Ivan Skugor 2014-11-28

    As a workaround, you can change it in custom theme.
  3. Andrey Pervushin 2014-11-28

    i can't do it that way because my client require to change color dynamicaly as a workaround i can hide it and use custom view but this is not solution
  4. Ivan Skugor 2014-11-28

    You can also try this module: https://github.com/ricardoalcocer/actionbarextras I had troubles with setting initial action bar background color, but it seems it works fine when background color is set dynamically.

JSON Source