"stroke" in a shape layout

by Christine » Mon, 10 Nov 2008 18:40:12 GMT


Sponsored Links
 Is there a special trick to the "stroke" attribute of a shape in an
xml file? It doesn't want to show. Stroke does refer to the width of
the line surrounding the box, doesn't it?

Also, while it's easy to have a button on the left of the screen and a
textview to the right that fills up the remaining space, I can't seem
to find a way to have a button to the right of the screen and have a
TextView fill up the space on the left. I've tried both TableView and
RelativeView with all kinds of attributes. Does anyone know how to do
that?
Thanks in advance.


--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. How to keep the selected item highlighted when menu button is clicked?

I have list of items displayed in ListActivity by

onCreate() {
  ...
          setListAdapter(new SimpleAdapter(this, myData,
                android.R.layout.simple_list_item_1,
                new String[] {MyItemClass.Items },
                new int[] { android.R.id.text1 }));
}

when I mov my key up and down, the item get highlighted, which is
great. But when I push the menu button by

    public boolean onCreateOptionsMenu(Menu menu) {
        super.onCreateOptionsMenu(menu);
        menu.add(0, ADD_ID, 0, R.string.menu_ADD_NEW_ITEM);
        menu.add(0, DELETE_ID, 0,
R.string.menu_DELETE_SELECTED_ITEM);
        return true;
    }

the highlight goes away. Can I somehow keep the highlight even after
the menu button is clicked?

Thanks a lot,
--~--~---------~--~----~------------~-------~--~----~

2. Necessity of Map API Key

Hi,

I have developed one sample application using google map api.
I have created MAP API key for my machine. Now if I want to give it to
android handset users
then do they need to create their map api key also.

Please help me out.

Thanks
KRC

--~--~---------~--~----~------------~-------~--~----~

3. Can I put multiple selector nodes in one xml file and reference them from layout xml file?

4. Major Animation Frustration

5. Cupcake on older x86 architecture unstable

6. android build problems

7. So when will we be allowed to Force Quit any process we want without root access?