Android Tab Layout Tutorial?
I want to be able to assign different images to my tabs in the TabLayout control depending on whether the item is selected or not. I followed the tutorial on the Android site but t
Solution 1:
Could the problem be that you define the tab backgrounds as the images you have instead of the selectors you have defined? From your text it is not clear how you named the two selector files you have code example for but your code should refer to those files, not to the actual images.
Post a Comment for "Android Tab Layout Tutorial?"