TabBarView
TabBarView copied to clipboard
An Android Library to help you create actionbar tabs like "Capitaine train" app by Cyril Mottier
fix in some devices, mSelectedTab from OnPagerListener onPageScrolled method is not equals mViewPager.getCurrentItem()
In some devices, mSelectedTab from PageListener onPageScrolled is not always equals pager.getCurrentItem() afater debug OnPageChangeListener onPageScrolled event. i get mSelectedTab values is only 0, 0 , 1 when I scroll...
Also fixed a compatibility issue when the library is used on versions prior to API level 16 which resulted in a crash. See here: https://github.com/plackemacher/TabBarView/blob/master/library/src/main/java/com/mirko/tbv/TabBarView.java#L169
As you can see in this screen shot my tab position is to high.  How can I lower the position of the tab indicator?
Could you please migrate this project to gradle?
Hi, can you please tell me how to add relative layout[or textview with background to show count in second viewpager header] instead of adding only icon to the tab header...
The Android 5.0 Toolbar adds extra padding, causing `TabBarView` to not match parent.  Adding the following after calling `super(context, attrs, defStyle);` in `TabBarView` fixes the issue: ``` java setLayoutParams(new...
In `TabBarView` you are calling `pager.getAdapter().getPageTitle(i).toString()` which will throw an NPE if it is unimplemented. Since `getPageTitle` is not abstract, the `CharSequence` returned should be checked. https://github.com/Mirkoddd/TabBarView/blob/master/TabBarViewLibrary/src/com/mirko/tbv/TabBarView.java#L174