Does the code reflect the changes between tabs on your onTouchEvent?
I'd say they would need to be seperate activities.

On Jul 28, 11:01 pm, "Sasikumar.S" <sasikumar.it1...@gmail.com> wrote:
> Thanks for your reply Richard.
>
> Below is my tabbar xml code.
>
> maintab.xml
>
> <?xml version="1.0" encoding="utf-8"?>
>
> <TabHost android:layout_width="fill_parent"
>         android:layout_height="fill_parent" xmlns:android="http://
> schemas.android.com/apk/res/android"
>         android:id="@android:id/tabhost">
>         <LinearLayout android:id="@+id/LinearLayout01"
>                 android:orientation="vertical" 
> android:layout_height="fill_parent"
>                 android:layout_width="fill_parent">
>                 <TabWidget android:id="@android:id/tabs"
>                         android:layout_height="wrap_content"
> android:layout_width="fill_parent"></TabWidget>
>                 <FrameLayout android:id="@android:id/tabcontent"
>                         android:layout_height="fill_parent"
> android:layout_width="fill_parent"></FrameLayout>
>         </LinearLayout>
>
> </TabHost>
>
> tab1.xml
>
> <?xml version="1.0" encoding="utf-8"?>
> <LinearLayout android:id="@+id/LinearLayout01"
>         android:layout_width="fill_parent"
> android:layout_height="fill_parent"
>         xmlns:android="http://schemas.android.com/apk/res/android";
>         android:orientation="vertical">
>         <Button android:text="@+id/Button01" android:id="@+id/Button01"
>                 android:layout_width="wrap_content"
> android:layout_height="wrap_content"></Button>
>         <Button android:text="@+id/Button02" android:id="@+id/Button02"
>                 android:layout_width="wrap_content"
> android:layout_height="wrap_content"></Button>
> </LinearLayout>
>
> tab2.xml
>
> <?xml version="1.0" encoding="utf-8"?>
> <LinearLayout android:id="@+id/LinearLayout01"
>         android:layout_width="fill_parent"
> android:layout_height="fill_parent"
>         xmlns:android="http://schemas.android.com/apk/res/android";
>         android:orientation="vertical">
>         <Button android:text="@+id/Button01" android:id="@+id/Button01"
>                 android:layout_width="wrap_content"
> android:layout_height="wrap_content"></Button>
>         <Button android:text="@+id/Button02" android:id="@+id/Button02"
>                 android:layout_width="wrap_content"
> android:layout_height="wrap_content"></Button>
> </LinearLayout>
>
> In these for tab1.xml & tab2.xml, I'm not setting any background
> image.
>
> On Jul 29, 2:58 am, RichardC <richard.crit...@googlemail.com> wrote:
>
>
>
> > Can you show us the layout file for the problem activity?
>
> > On Jul 28, 2:14 pm, "Sasikumar.S" <sasikumar.it1...@gmail.com> wrote:
>
> > > Hi,
>
> > > In my app the i have 3 tabs. When i try to change the tab, the tab
> > > content overlaps.
>
> > > Same as the below image
>
> > >http://i.imgur.com/7iaVS.png
>
> > > Any Suggestion to resolve from this ?..- Hide quoted text -
>
> - Show quoted text -

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