Have you tried using a TabActivity, then you don't have to use a layout XML file for the tabhost. Each tab calls its own intent, and that activity can use its own layout file.
Not sure if that fixes your exact issue, but then you won't have to worry that you are messing up your overall layout of the tabs, or the other tab. You can focus just on the one tab that is giving you trouble. On Aug 17, 2:44 am, Stefan <[email protected]> wrote: > Hi, now I have a new problem. My xml file looks like: > > <?xml version="1.0" encoding="utf-8"?> > <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ > android" > android:orientation="vertical" > android:layout_width="fill_parent" > android:layout_height="fill_parent" > > > <TabHost android:id="@+id/auswahl" > android:layout_height="fill_parent" > android:layout_width="fill_parent"> > > <TabWidget android:id="@android:id/tabs" > android:layout_width="fill_parent" > android:layout_height="wrap_content"/> > > <FrameLayout android:id="@android:id/tabcontent" > android:layout_height="fill_parent" > android:layout_width="fill_parent" > android:paddingTop="62px"> > > <ListView > android:id="@+id/list" > android:layout_height="fill_parent" > android:layout_width="fill_parent" > android:text="List"/> > > <RelativeLayout > > xmlns:android="http://schemas.android.com/apk/res/android" > android:orientation="vertical" > android:layout_width="fill_parent" > android:layout_height="fill_parent" > android:id="@+id/ll"> > > <LinearLayout > > xmlns:android="http://schemas.android.com/apk/res/ > android" > android:orientation="vertical" > android:layout_width="fill_parent" > android:layout_height="wrap_content" > android:id="@+id/unten" > android:layout_alignParentBottom="true"> > > <ImageView > android:id="@+id/imagebutton" > android:src="@drawable/left" > android:layout_width="wrap_content" > android:layout_height="fill_parent"/> > > <TextView > android:id="@+id/name" > android:layout_height="fill_parent" > android:layout_width="wrap_content" > android:text="Text" > android:layout_marginLeft="5px"/> > </LinearLayout> > > <com.google.android.maps.MapView > android:id="@+id/mapview" > android:layout_width="fill_parent" > android:layout_height="wrap_content" > android:enabled="true" > android:clickable="true" > android:apiKey="........." > android:layout_above="@id/unten" > > /> > </RelativeLayout> > </FrameLayout> > </TabHost> > </LinearLayout> > > I want, that the picture is on the lift side of the TextView, but the > TextView is below the picture?? But the layout_width of the Text- and > ImageView is "wrap_content"!?! And if i try to change the LinearLayout > (ID: unten) in a RelativeLayout, i don't see the MapView. What can i > done?? > > Regards, > Stefan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

