Is it possible to change actionbar tab indicator programmatically
问题 How can i change programmatically the selected tab indicator of my action bar ? i have read about tab styling, and Tab.setCustomView() method, but none of these helps : With tab styles, i can change the indicator color, but it will remain for all tabs (i want to have an indicator for each tab). With tab custom view, i have used a layout with a TextView for tab title, and View for managing the indicator color. In the java i change the View 's background dynamically, but the problem with that