androidで電話帳アプリのようなタブを使いたい時、TabHostとかTabActivityとかTabWidgetとか Tabと付くクラスが多くてreferenceにもあまりコードがないので迷うことがあったのでその時の サンプルです。 おそらく一番簡単にタブを使う方法。 以下がレイアウトのコード。<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> <TabHost android:id="@+id/tabhosts" android:layout_width="