]1]1i used android design support tablayout and i got both icon and text on tab .. i used a customtabview to align icon and text vertically..And i want to change the color o
Instead of customizing the TabLayout as specified by @Abhilash answer just add a line i.e. tabOne.setSelected(true); in below code
TextView tabOne = (TextView) LayoutInflater.from(this).inflate(R.layout.custom_tab, null);
tabOne.setText("ONE");
tabOne.setCompoundDrawablesWithIntrinsicBounds(0, R.drawable.image1, 0, 0);
tabOne.setSelected(true); //This will make your tab by default selected
tabLayout.getTabAt(0).setCustomView(tabOne);