How to create RTL ViewPager?
I'm using ViewPager in my application and I want to support RTL, but when I cahnge my device language to RTl it seems it does'nt working. I want the tabs to start from the right side (the first fragment in the right). Please help me to solve it. EDIT : Here is a picture of it: Tabs start from the left side Here is my code: activity_main.xml: <?xml version="1.0" encoding="utf-8"?> <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" xmlns:ads=