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. how can i make drag animation like in application menu and notification?

Hi Dear,

i want to drag up and down or left and right same like we do to see
notifications and menu.

can anybody point to the right direction please?

-- 

2. Notepadv3 tutorial...

I was working through the Notepad tutorial...
http://developer.android.com/guide/tutorials/notepad/index.html

...and I seem to either have a misunderstanding of what is supposed to
be happening, or the code is not working.


Below are two snippets of code from the tutorial to illustrate my
questions/concerns:

It looks like this is the "menu" that is brought up when you have no
items selected and you press the Menu key...
    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        super.onCreateOptionsMenu(menu);
        menu.add(0, INSERT_ID, 0, R.string.menu_insert);
        return true;
    }

...this is the behavior that I expected and saw.

However, when I have one of the notes selected, I would expect this
code snippet to run...
        @Override
        public boolean onContextItemSelected(MenuItem item) {
                switch(item.getItemId()) {
        case DELETE_ID:
                AdapterContextMenuInfo info = (AdapterContextMenuInfo)
item.getMenuInfo();
                mDbHelper.deleteNote(info.id);
                fillData();
                return true;
                }
                return super.onContextItemSelected(item);
        }

...but it doesn't :(

Can anyone help me out here?

I can never get the "delete" option to show up in the tutorial.

Thanks for  your help!
-Matt

-- 

3. /proc/wakelocks kernel Null pointer panic

4. Paging david yg mu beli matrix di bandung

5. inhibit device

6. Powertop tool issue on OMAP_Zoom

7. beagle board android port