After looking at my code over a couple of days and comparing it to
other examples I found that I had been using the following code in my
set up which the galaxy tab didnt seem to like:

 <TabHost xmlns:android="http://schemas.android.com/
apk/res/android"
    android:id="@+id/my_tabhost"
    android:layout_width="match_parent"
    android:layout_height="match_parent" >
<LinearLayout
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:padding="5dp">
        <TabWidget
            android:id="@android:id/tabs"
            android:layout_width="match_parent"
            android:layout_height="match_parent"/>
       <FrameLayout
            android:id="@android:id/tabcontent"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:padding="5dp">

I got rid of the padding and changed that code to the following and
now all is well and I have my custom menu just how I wanted :) thanks
to that dude Mark otherwise known as CommonsWare :)


<TabHost xmlns:android="http://schemas.android.com/apk/res/android";
    android:id="@+id/my_tabhost"
    android:layout_width="match_parent"
    android:layout_height="match_parent" >

<LinearLayout
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="match_parent">
        <TabWidget
            android:id="@android:id/tabs"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"/>
       <FrameLayout
            android:id="@android:id/tabcontent"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent">

For some reason I think the padding had cause the view in the tabhost
to show up empty or be registered that it had been set to GONE
regardless that I had set it to VISIBLE in my java class.

-- 
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