I\'m having trouble changing androids action bar title color programmatically for v11 and up. I can get it done in xml but need to change it dynamically in code. How should
If using the v7 appcompat library (tested with r22) then you can call setTitleTextColor() on the Toolbar
object that substitutes the action bar for all API levels. For example:
Toolbar actionBarToolbar = (Toolbar)activity.findViewById(R.id.action_bar);
if (actionBarToolbar != null)
actionBarToolbar.setTitleTextColor(Color.RED);