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. Camera Preview is rotated 90. (auto rotates unless keyboard is out)

It is a known G1 bug. See also

2. Camera Preview is rotated 90. (auto rotates unless keyboard is out)

Hopefully this makes sense. I have a camerapreview on a surface, the
issue is that it rotated 90degrees. If I rotate the phone the camera
preview is still rotated 90 degrees, so it must be using the
accelerometer to determine upright.

If I slide the keyboard out, it fixes it and the image is then
vertical. Any suggestions? I have tried the following :

Camera.Parameters p = camera.getParameters();
p.set("rotation", 0);


Any other suggestions?


3. How to see the documents under Android /frameworks/base/docs?

4. How to disable Cancelable of activity

5. Get the value from database

6. WebView failing on G1

7. What are the MediaPlayer Class upcoming fixes?