have an app that uses a TabHost and TabWidget to show activities and
tabs. Everything work fine on devices pre android 4.0. However, when using
a device with 4.0+ the tabs are not showing. It's just a gray area.
Does anyone have any idea why this happens? I know that ActivityGroup is
This should be fixed in the newer rendering libraries. So either try
changing the rendering target (a combobox in the configuration chooser
above the layout editor) to 3.0 or 3.1, or, install the preview
versions of the backports of the layout library to 2.x - see
http://tools.android.com/download
According to the Android link I posted earlier, this functionality has been
available since version 1 of the API. My target is currently set for
Android 2.1
http://developer.android.com/reference/android/widget/TabWidget.html
Top right, Since: API Level
On Mon, Jun 20, 2011 at 10:26 AM, Simon Platten
simonaplat...@googlemail.com wrote:
According to the Android link I posted earlier, this functionality has been
available since version 1 of the API. My target is currently set for
Android 2.1
Thank you, I think I'll give it a miss in that case until its fixed for
older API's, as I want to make the application available to a wider
audience.
On 20/06/2011 6:36 PM, Tor Norbye wrote:
On Mon, Jun 20, 2011 at 10:26 AM, Simon Platten
simonaplat...@googlemail.com wrote:
According to
On Mon, Jun 20, 2011 at 11:06 AM, Simon Platten
simonaplat...@googlemail.com wrote:
Thank you, I think I'll give it a miss in that case until its fixed for
older API's, as I want to make the application available to a wider
audience.
I think we're talking about different things.
The TabHost
Ok, Thank you for explaining that, I'll take a look.
Regards,
Sy
On 20/06/2011 7:23 PM, Tor Norbye wrote:
On Mon, Jun 20, 2011 at 11:06 AM, Simon Platten
simonaplat...@googlemail.com wrote:
Thank you, I think I'll give it a miss in that case until its fixed for
older API's, as I want to make
The easiest way I found is to set your target build API to 11 (Android 3.0)
and change your graphical layout view to Android 3.0 while you are working
with the tab xml file. It's a bug that is supposed to be fixed for the
older versions but they haven't had to time yet.
On Sun, Jun 19, 2011 at
On Sun, Jun 19, 2011 at 2:55 PM, Gabe S gabrieljspen...@gmail.com wrote:
The easiest way I found is to set your target build API to 11 (Android 3.0)
and change your graphical layout view to Android 3.0 while you are working
with the tab xml file. It's a bug that is supposed to be fixed for the
I am trying to create a layout using the TabHost and TabWidge views as
described here:
http://developer.android.com/resources/tutorials/views/hello-tabwidget.html
My XML so far looks like this:
?xml version=1.0 encoding=utf-8?
TabHost xmlns:android=http://schemas.android.com/apk/res/android;
I have been trying to have a view layout using TabWidget. This is
using Eclipse and Android 1.5. However, anytime I use TabWidget, I get
a NullPointerException in Eclipse. This is even with the sample on
http://developer.android.com/guide/tutorials/views/hello-tabwidget.html.
I saw few threads
11 matches
Mail list logo