long1eu / SpaceTabLayout

Not actively maintained, but PR are welcomed
1.6k stars 265 forks source link

RTL support #12

Open osama-raddad opened 7 years ago

osama-raddad commented 7 years ago

hello my friend first of all thank you for this great library it is vary beautiful and fast but it has a problem with RTL support so if you can fix it as soon as possible i would be very grateful.

long1eu commented 7 years ago

I will look at it, but now I'm a little bit busy.

zacharyburkett commented 6 years ago

Has there been any progress on this? I'm trying to incorporate this into an app that needs RTL support. I'm trying to get this to work currently.

As far as I can tell, it should work, but something very strange happens. Unlike during normal initialization, the onPageChanged listener inside the Layout gets called early when using RTL. For some reason, the tab array contains elements with null custom views. Very strange.