I want to start app-development for Android. I’m not new to java but the android sdk confuses me when searching for the “best” way to create a tab layout.
My first app should be simple.. I just need about 3 pages.
What is the best way to implement a tab layout? Maybe you can also tell me what ways I could take.
There are 2 ways to make a tabbed Activity.
1- TabActivity with a very simple tutorial here :
http://www.androidhive.info/2011/08/android-tab-layout-tutorial/
2- Fragments with another simple tutorial here :
http://android.codeandmagic.org/2011/07/android-tabs-with-fragments/
As of late, using Fragments has become the norm so you might want to check that out.
Good Luck