How can I pass the position of the icons in tabLayout?

Icons are installed by default on top of the text, as you can move the icon to the side?
tabLayout.getTabAt(0).setIcon(R. drawable.ic_content_paste_black_24dp);
tabLayout.getTabAt(1).setIcon(R. drawable.ic_content_paste_black_24dp);
tabLayout.getTabAt(2).setIcon(R. drawable.ic_content_paste_black_24dp);
June 3rd 19 at 19:20
0 answer

Find more questions by tags AndroidXML