I am new to Android, and before starting programming i found that now a days many of the apps are using Fragments, especially Tab with Swipeable Views
How to change Tab Indicator/highlight color (I googled and changed ActionBar color to RED programmatically), but don't know how to change Tab Indicator color to RED. (priority programmatically)
still my ActionBar looks like this
I am using below lines to change background color of ActionBar, but i also need to change the color of Tab Indicator programmatically.
actionBar = getActionBar();
actionBar.setBackgroundDrawable(new ColorDrawable(Color.RED));