Where can i find a (complete) reference of XML files for layouts/drawables/etc

by Streets Of Boston » Sat, 07 Mar 2009 05:08:09 GMT

Sponsored Links
 Hello everyone,

I've been searching the internet and i have not found a proper
reference guide (with some nice examples) that describe all the
possible elements in XML files for resources such as layouts,
drawables, strings, manifests, etc., etc.

The only ones i find are some examples but I have no clear idea of
everything that may be out there.

For development i'm using Eclipse and the Android views help quite a
bit when creating layouts for views. However, i'm not sure Eclipse is
complete in that respect.

And when creating xml file for drawables, there is no help from
Eclipse whatsoever. That's why i'm looking for a (complete) reference
guide describing all the possible xml-elements and their attributes
(for example; how to create custom backgrounds with borders,
gradients, corners, shapes, strokes, etc. etc.)

Can someone point me to a resource with this kind of information.

Thank you very much!
-- Anton Spaans

Other Threads

1. No internet connectivity - no browser, no maps?


Just got the latest beta 0.9 version on my win32 system.

I can't access any web pages through the web browser, or any map data
through the maps sample applications.

I know I'm connected to the internets because, well I'm writing this
to you all right now. I'm not behind a firewall, don't have any proxy

This always worked fine on my setup with earlier versions of the
Android SDK. Am I missing some flag that needs to be set to get it to
allow internet connectivity or something?


2. ContextMenu onClickListener on a ListView with CustomAdapater

> I've got the context menu showing up properly but can't seem to catch

You could try this approach:

1. Calling registerForContextMenu() in your activity, passing in the ListView

2. Overriding onCreateContextMenu() in your activity, to build the menu
when needed (your menu.add() calls)

3. Overriding onContextItemSelected() in your activity, to get control
when a context menu choice is selected

Mark Murphy (a Commons Guy)
_The Busy Coder's Guide to Android Development_ Version 1.2 Published!


3. Removal of javax.sound

4. Start an andorid app through command line or system command

5. send SMS

6. Scaling 9-patch drawable *down*

7. Yet another Android page