I am using google\'s SlidingTabLayout in my view, but i want to add icons to the tabs. I\'m using this http://developer.android.com/samples/SlidingTabsBasic/src/com.example.
Use mSlidingTabLayout.setCustomTabView(int layoutResId, int textViewId) to inflate a custom layout for the SlidingTabLayout tab views.
When SlidingTabLayout tries to populate the tab strips, initially looks for any specified layout resource to inflate. Otherwise, it inflates default tab view.