I have busy with sme problems like your..
Maybe you can edit the xml and also working path
Terkirim dari telepon Nokia saya
-----Pesan Asli-----
Dari: KG
Terkirim: 22-12-2010 15.44.15
Subjek: [android-developers] TabHost not working in Froyo
Hi Everyone,
I have a TabHost in my app that works on my test device running
Android 2.1 (and all previous versions via the emulator). However,
the tabs do not display when Running on Android 2.2 (Froyo) or later.
All there is is the content of the first tab and a blank spot where
the tabs should be. Here is the code I'm using to create the TabHost:
<TabHost
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
>
<RelativeLayout
android:layout_height="fill_parent"
android:layout_width="fill_parent"
>
<TabWidget
android:divider="#000000"
android:id="@android:id/tabs"
android:layout_alignParentBottom="true"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
/>
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_above="@android:id/tabs"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
/>
</RelativeLayout>
</TabHost>
LogCat provides nothing.
Any input would be greatly appreciated. Thanks!
--
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