1
私はタブを左側に縦に表示したいと思っています。私は、tabwidgetでAndroid - Honeycombでtabhost/tabwidgetを縦書きで表示するにはどうすればいいですか?
を使用しています。これを含めると、マニフェストファイルに
<uses-sdk android:minSdkVersion="11"/>
が表示されます。しかし、インターネットデータベースに接続しているコードでバージョンを「3」に設定する必要があるため、バージョンを3に変更するとタブを表示できません。
ここに誰でもこの問題を解決するのに役立つことを願っています。私はこれで数週間苦労していますが、まだ解決できません。私のための任意の提案またはどのようにsdkバージョンの問題を解決するようにすべての私のコードは、そのSDKのバージョンで正常に動作することができます。緊急にあなたの助けが必要です。ありがとうございました
<TabHost
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<LinearLayout android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TabWidget android:id="@android:id/tabs"
android:layout_height="match_parent"
android:layout_width="380dip"
android:layout_weight="0"
android:orientation="vertical"
android:background="#ffe185"
/>
<FrameLayout android:id="@android:id/tabcontent"
android:layout_height="match_parent"
android:layout_width="0dip"
android:layout_weight="1"
android:background="#ffffff"/>
</LinearLayout>
</TabHost>