Android TabWidget White Space-Problem
Ich arbeite am TabWidget und bekomme einen Leerraum zwischen der TabActivity und den Tabs.
Ich weiß nicht, wie ich diesen Leerraum entfernen soll. Kann mir jemand helfen, wie ich ihn entfernen soll? Meine tab_main.xml lautet wie folgt:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<TabHost
android:id="@android:id/tabhost"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="fill_parent"
android:layout_height="0dip"
android:layout_weight="1" />
<TabWidget
android:id="@android:id/tabs"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="0" />
</LinearLayout>
</TabHost>
Ich habe versucht, die Hintergrundfarbe von TabWidget auf Android zu setzen: Farbe: transparent, aber immer noch der gleiche weiße Raum zwischen der Aktivität und dem Tab.
Ich möchte keinen Trennungsraum zwischen meiner Aktivität und den Registerkarten (Ist es möglich, dies zu tun?)
Bitte kann mir jemand vorschlagen, wie ich diesen weißen Raum loswerden kann.