NavigationTabBar icon indicating copy to clipboard operation
NavigationTabBar copied to clipboard

how can i set the background color of selected tab?

Open rkkalkii opened this issue 7 years ago • 3 comments

rkkalkii avatar Aug 02 '18 07:08 rkkalkii

I also want to know

haroon47 avatar Oct 23 '19 10:10 haroon47

i am stuck on this point, i want to change the active background color of the tab but not finding a way to do. Anyone can tell me the solution?

BhoomiKhan avatar Nov 02 '19 14:11 BhoomiKhan

Finally i found a way to change the background color of the selected tab by using static method of class Color.

Color.parseColor("#dd2a2a")

Example models.add( new NavigationTabBar.Model.Builder( getResources().getDrawable(R.drawable.tab2_categories), Color.parseColor("#dd2a2a") ).title("CATEGORIES") .build() );

BhoomiKhan avatar Nov 02 '19 16:11 BhoomiKhan