Search code examples
androidright-to-left

Support for RTL in Android PagerSlidingTabStrip library


I've downloaded this lib project PagerSlidingTabStrip for Android and am working on it.

Everything is working okay except for one thing, it dose not support RTL charset. How can I make tabs appear from right to left instead of from left to right?


Solution

  • paste the code in your libaray above "tabsContainer = new LinearLayout(context);"

    tabsContainer.setGravity(Gravity.RIGHT);