It just happend when I use a tabactivity group!

On 7 Sep., 11:36, DaPhilz <daph...@googlemail.com> wrote:
> Hello everyone,
>
> I have a problem with the tab widget. There is a shadow above the
> framelayout that's part of the tabwidget. How can I modify or delete
> this shadow. My layout looks like that
>
> <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" android:background="@color/
> bright_blue">
>
> <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"
> android:visibility="invisible"  android:clickable="false" />
>
> <TextView android:id="@+id/template_description"
> android:layout_marginBottom="10dp" android:textColor="@color/
> dark_grey"
> android:layout_width="fill_parent"
> android:layout_height="wrap_content"/>
>
> <FrameLayout android:id="@android:id/tabcontent"
> android:padding="0dp"
> android:layout_width="fill_parent" android:layout_height="fill_parent"
> android:background="@color/bright_blue"
> android:tabStripEnabled="false" />
>
> </LinearLayout>
> </TabHost>
>
> I tried a couple of thinks like deleting the padding, changing the
> background, the parameter  android:tabStripEnabled="false"  and
> setting up the tabhost
> tabHost.getTabWidget().getChildAt(0).getLayoutParams().height = 0;
> tabHost.getTabWidget().getChildAt(0).getLayoutParams().width = 0;
> tabHost.getTabWidget().getChildAt(0).setVisibility(TabHost.INVISIBLE);
> tabHost.getTabWidget().getChildAt(0).setHorizontalFadingEdgeEnabled(false);
> tabHost.getTabWidget().getChildAt(0).setPadding(0, 0, 0, 0);
> tabHost.getTabWidget().getChildAt(0).setBackgroundColor(R.color.bright_blue­);
>
> but nothing worked at all. Can someone help me out. Thats would be
> great. I invest two days in this stuff.
> Thanks a lot
> Phil

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

Reply via email to