TabLayout in android.
package com.example.savetab; import android.os.Bundle; import android.app.Activity; import android.app.TabActivity; import android.content.Intent; import android.graphics.Color; import android.view.Menu; import android.widget.TabHost; import android.widget.TabHost.TabSpec; public class MainActivity extends TabActivity { TabHost th; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); th=getTabHost(); TabHost.TabSpec spec; Intent intent; intent =new Intent(this, Add.class ); spec=th.newTabSpec("naVEEN").setIndicator("Add Record").setContent(intent); th.addTab(spec); intent =new Intent(this, Listofname.class ); spec=th.newTabSpec("naVEEN").setIndicator("List Of Record").setContent(intent); th.addTab(spec); intent =new Intent(this,ShowonGrid.class); spec=th.newTabSpec("naVEEN").setIndicator("...