I am trying to increase icon size of tabs in my app. Icon sizes are fixed tried out many ways but nothing is working, finally tried the following but no change in size.Pleas
No need to take any xml view . Create imageview runtime and add image as view :)
for (int i = 0; i < tabLayout.getTabCount(); i++) {
ImageView imageView = new ImageView(context);
imageView.setImageResource(drawableImage);
tabLayout.getTabAt(i).setCustomView(imageView);
}