[android-developers] How can I delete the black shadow above framelayout in the tabwidget

2010-09-08 Thread DaPhilz
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 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


[android-developers] How can I delete the black shadow above framelayout in the tabwidget

2010-09-07 Thread DaPhilz
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