Tabwidget graphical issues. Showing a thick white line??

by Stephen » Fri, 23 Apr 2010 08:03:43 GMT


Sponsored Links
 Having just moved to an Android 2.1u1 HTC Desire from an Android 1.5
HTC Hero, I've noticed that there a weird behaviour from TabWidget in
that it shows a thick white line under the tabs instead of what I
think it should do.  Difficult to explain so here are two URLs:

 http://android.esstec.co.uk/images/how_it_should_be.png 
 http://android.esstec.co.uk/images/what_it_is.png 

Initially the tabwidget looks like the first picture but when you do
anything with it (change tabs for example), it looks like the second.

These screenshots are from the Google provided API demos so I don't
think it's my code, but I wanted to paste here before filing a bug.
Anyone got any ideas?

Thanks,

Stephen

--



Other Threads

1. View Animation

hi,

i am trying to do this:

1) user long touches the screen,
2) a circle/ball pops up (centered around the user's finger) and grows
in size as long as the user is touching the screen
3) once the user lets go of the finger, the ball (now in its final
size) will bounce around.

i think i have the bouncing around figure out from the
DivideAndConquer example, but i am not sure how to animate the ball's
growth.  i looked at various view flipper examples such as this:

http://www.inter-fuser.com/2009/08/android-animations-3d-flip.html

but it seems like view flipper is best for swapping two static
pictures.  i wasn't able to find a good view animator example other
than the flippers.  also, i would prefer to use images as opposed to
just a circle.  can someone point me in the right direction?

thanks.

--

2. How to get the best double buffering?

I am painting polygons with the Paint class in an animation. New
polygon shapes are created for every new frame. These are painting
over parts of the screen.

The parts of the screen which are not painted in the new frame flicker
in a disturbing way. I am using lockCanvas(null); and
unlockCanvasAndPost(c). Shouldn't this fix the double buffering to
avoid flickering?

Does anyone know why the flickering occurs and how I can fix this? It
seems like only the part of the screen that is painted for the new
frame is double buffered. So I wonder if there is some better way than
lockCanvas(null); and unlockCanvasAndPost(c) to implement double
buffering?

-- 

3. How to receive WAP push programatically

4. Stagefright or OpenCORE for Gingerbread ?

5. htc desire matik :(

6. MapActivity with inflate layout problem

7. [WTI & WTAsk] Maret 3 Samsung galaxy masuk ke Indonesia, nexus s gak ada kabar kapan masuk ke sini