android - How to change Tab Indicator color programmatically -
I get the new to Android and get started before programming I've been using several episodes a day, especially tabs with swiped views
Tab Indicator / Highlight Color (I have googled and changed for ActionBar Color RED program) but do not know how to change the tab indicator color to red. (Priority programmatically)
still looks like my actionbank
I change the background color of the actionbar below I am using the given methods, but I have to change the colors of the tab indicator programmatically.
actionBar = getActionBar (); ActionBar.setBackgroundDrawable (New ColorDrawable (Color.RED));
I use Jeff Gilfelt, Android Action Bar Style Generator You can use the GUI and at the end you get the source code that you can use, review and modify accordingly. :)
Here is a link.
Comments
Post a Comment