intent = new Intent().setClass(this,HourlyActivity.class);              spec =
tabHost.newTabSpec("Hourly").setIndicator("",res.getDrawable(R.drawable.tab_hourly))
                            .setContent(intent);            
tabHost.addTab(spec);           
       //Map Tab                 intent = new 
Intent().setClass(this,map.class);                
spec 
=tabHost.newTabSpec("Maps").setIndicator("",res.getDrawable(R.drawable.tab_map))
           
.setContent(intent);             tabHost.addTab(spec);                          
 //More Tab               intent
= new Intent().setClass(this,MoreActivity.class);                 spec =
tabHost.newTabSpec("More").setIndicator("",res.getDrawable(R.drawable.tab_more)).setContent(intent);
            
 tabHost.addTab(spec);
please see my above code : in that i have More actvity  class contains
list of items .
 in one of the list item clicks on it goes to next screen in that
bottom of the tabhost is missing in my screen ..
like that around i have 10 list of items in more actvity : for each
screen bottom tabhost missing

<TabHost
        xmlns:android="http://schemas.android.com/apk/res/android";
        android:id="@android:id/tabhost"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        >
<FrameLayout android:id="@+id/tabcontent"
                        android:layout_height="fill_parent"
                        android:layout_width="fill_parent"
                        android:padding="5dp">
                        </FrameLayout>
        <RelativeLayout
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:padding="5dp"
        >
        <FrameLayout android:id="@android:id/tabcontent"
             android:layout_width="fill_parent"
             android:layout_height="fill_parent"
             android:layout_above="@android:id/tabs"
             android:background="@drawable/back"
                   >

            <LinearLayout
                android:id="@+id/linearLayout1"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="vertical"

                >
            </LinearLayout>

        </FrameLayout>
             <TabWidget android:id="@android:id/tabs"
             android:layout_width="fill_parent"
             android:layout_height="wrap_content"
             android:layout_alignParentBottom="true"

              />
        </RelativeLayout>
</TabHost>
        
this is main.xml with bottom host displaying ..
that i asked how to apply for this tabhost for entire my project



On Sun, Nov 6, 2011 at 11:11 AM, skink <[email protected]> wrote:
>
>
> On Nov 6, 6:16 am, jaggu <[email protected]> wrote:
>> Hi
>>  i my currentactivity i have 5 tabhost with tab spec.
>>    this i need to apply for all the screen ,its another screen its
>> missing how to apply
>> please hlep me in this.
>
> all you need is to ask your question in at least understable english
> since I didn't got a word of what you want to do
>
> pskink
>
> --
> 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

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