AndroidでTabを使う方法は2つある ・Activityを継承した方法 ・TabAcitvityをを継承する方法 今回はTabActivityを継承した方法で実装する ■手順 TabActivityを継承 プログラムからTabHostを追加 TabSpecでTabを追加 手順1 プロジェクトの新規作成 アプリ概要 Project Name : SampleTabActivity Application Name : SampleTabActivity Package Name : com.example.tab Activity Name : SampleTabActivity 手順2 Activityの変更 継承元をActivityからTabActivityに変更する エラーだらけになるのでimportを変更する Ctrl + Shift + o で自動importされ、エラーがな