OK

I solved the problem. The following code fix that problem.

<TabHost android:id="@android:id/tabhost"
android:layout_width="fill_parent"
android:layout_height="fill_parent" android:background="@android:color/
transparent">

<RelativeLayout android:layout_width="fill_parent"
android:layout_height="fill_parent" android:background="@android:color/
transparent">

<FrameLayout android:id="@android:id/tabcontent"
android:background="@android:color/transparent"
android:layout_width="fill_parent" android:layout_height="fill_parent"
android:layout_alignParentTop="true" android:layout_above="@android:id/
tabs"
android:paddingBottom="10dp" android:paddingRight="10dp"
android:paddingTop="20dp" android:paddingLeft="10dp" />

<TabWidget android:id="@android:id/tabs"
android:background="@android:color/transparent"
android:visibility="visible"
android:clickable="false" android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true" />
</RelativeLayout>
</TabHost>

I put the tabs on the bottom and use a relative Layout thats all.


On 8 Sep., 12:30, DaPhilz <[email protected]> wrote:
> Hello,
>
> I have a problem with my framelayout.I created a tabwidget with a
> tabgroup the tabgroup setup a shadow and a black line on top of teh
> framelayout. How can I disable this shadow? I tried to setup the
> tabwidget padding, transparent, weight and height but nothing worked.
> THanks for your help. It will work if i remove the activitygroup and
> show just one activity in a tab. But the  use case is to show to
> activitys in on tab. Please help me out. Thanks a lot
> Philipp

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to