Unfortunately I've never used tabs so I won't be of much help there...  I'm
just regurgitating stuff that I've seen Dianne Hackborn say...  She is one
of the actual Android Framework Engineers that posts on this group.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Mon, Mar 21, 2011 at 2:15 PM, Daniel Rindt
<[email protected]>wrote:

> Am Montag, den 21.03.2011, 13:37 -0600 schrieb Justin Anderson:
> > Change your TabHost to display views instead of activities... TabHost
> > doesn't handle activities very well.  From what I understand it is
> > only partially implemented and dates back to the Android 1.1 days.
> Hello Justin,
>
> thanks for your answer. I don't understand how to implement this. Maybe
> you can clue me a bit. My TabHost looks like this:
> === 8< ===
> <?xml version="1.0" encoding="utf-8"?>
> <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">
>        <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" />
>                <FrameLayout android:id="@android:id/tabcontent"
>                        android:layout_width="fill_parent"
>                        android:layout_height="fill_parent"
>                        android:padding="5dp" />
>        </LinearLayout>
> </TabHost>
> === 8< ===
> Thanks for helping me.
> Daniel
>
> --
> 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