I solved this - was actually quite easy through XML - here is how it
looks if someone is interested:

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

<RelativeLayout
android:id="@+id/widget31"
android:layout_width="fill_parent"
android:layout_height="fill_parent">

    <ImageView
        android:id="@+id/widget30"
        android:layout_width="160dp"
        android:layout_height="55dp"
        android:src="@drawable/bllogo"
        android:layout_alignParentTop="true"
        android:layout_alignParentLeft="true"
        android:antialias="true">
        </ImageView>

        <TextView
        android:id="@+id/navigator"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/navigator"
        android:layout_alignParentTop="true"
        android:layout_toRightOf="@+id/widget30"
        android:textSize="20sp"
        android:layout_marginLeft="18px"
        android:padding="13px">
        </TextView>

</RelativeLayout>

    <LinearLayout
        android:orientation="vertical"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent">
        <TabWidget
            android:id="@android:id/tabs"
            android:layout_marginTop="55px"
            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">
            <TextView
                android:id="@+id/textview2"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                android:text="this is another tab" />
            <TextView
                android:id="@+id/textview3"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                android:text="this is a third tab" />
            <TextView
                android:id="@+id/textview4"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                android:text="this is a fourth tab" />
        </FrameLayout>
    </LinearLayout>
</TabHost>



On Jul 11, 11:52 pm, "Christian S." <schrott...@gmx.de> wrote:
> How can I best mix in one activity a tab activity with anImageView/
> TextView? Any thoughts would be highly appreciated. thanks, christian
--~--~---------~--~----~------------~-------~--~----~
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