This is a code example for a Tab Layout for Android (2.2 Froyo).

The code is pretty straightforward…

Each tab has its own layout file and activity already created and working. This should be a little step forward for those who are struggling to upgrade the basic tab code provided on the Android Dev Guide.

For each tab I am using a TableLayout within a RelativeLayout to better display content (I strongly recommend this structure).

Eclipse Project Download : Android_TabLayout (6110)

Enjoy.

Walter