2011-07-01 14 views
4

私は、tuturialに従って、簡単なタブレイアウトを実装しました。画面の左側にあるタブの検索方法は?

このチュートリアルでは、タブは画面上部に配置されています。上部にタブを配置する代わりにの画面の左側にあるのタブを見つける方法はありますか?レイアウトXMLファイルを変更するには?

<?xml version="1.0" encoding="utf-8"?> 
<TabHost xmlns:android="http://schemas.android.com/apk/res/android" 
    android:id="@android:id/tabhost" 
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent"> 
    <LinearLayout 
     android:orientation="vertical" 
     android:layout_width="fill_parent" 
     android:layout_height="fill_parent" 
     android:padding="5dp"> 
     <TabWidget 
      android:id="@android:id/tabs" 
      android:layout_width="fill_parent" 
      android:layout_height="wrap_content" /> 
     <FrameLayout 
      android:id="@android:id/tabcontent" 
      android:layout_width="fill_parent" 
      android:layout_height="fill_parent" 
      android:padding="5dp" /> 
    </LinearLayout> 
</TabHost> 

答えて

関連する問題