Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using Tab Activity in my android app, and I want to change the first tab that appears when I open my app, to be the last tab. For example if I have 5 Tabs (tab1, tab2, tab3, tab4, tab5), instead of the current situation where the first tab is "tab1" I want that the first tab will be "tab5" but that the tabs will remain in the same order (That way when I need to swipe right to get to the other tabs ) .. Does anyone know how to make it happen? Thank you very much
Posted
Comments
Kornfeld Eliyahu Peter 7-Jan-15 4:00am    
Read here: http://developer.android.com/about/versions/jelly-bean.html#42-native-rtl
From Jelly Bean you need no worry about it...
Yiftach.C 7-Jan-15 4:42am    
First of all Thank you for the quick reply.
I tried to implement it it in
my app, but unsuccessfully.
I added to the manifest
android:supportsRtl="true"
And to my Main Activity
android:layoutDirection="rtl"
What should I add / Change ?
Kornfeld Eliyahu Peter 7-Jan-15 4:52am    
Should it be that you IDE not supporting it while compiling...
Early Android Studio didn't supported it...
What are you using?
Yiftach.C 7-Jan-15 6:28am    
Android Studio 1.0.2 - Which I think is the latest..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900