Programmatically set ActionBarTab background color with tab selector line color at bottom with user chosen color in ActionBarTab?
问题 I want to change my ActionBar's Tabs background color with tabs selector line at bottom color. I want to do that by using java code not xml. I have tried creating ActionBar tabs .. actionBar = getActionBar(); // Hide the action bar title ActionBar actionBar.setDisplayShowTitleEnabled(false); // Enabling Spinner dropdown navigation actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS); ActionBar.Tab PlayerTab = actionBar.newTab().setText("Fragment A"); ActionBar.Tab StationsTab =