k4zy / doclava

Automatically exported from code.google.com/p/doclava
Apache License 2.0
0 stars 0 forks source link

Document how to use @attr #62

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Please add some instructions on how to add some documentation to custom 
attributes when creating custom Views.

There is a basic summary in these docs, but it isn't descriptive enough and 
trying to copy examples from the Android source doesn't seem to work.

I have tried all sorts of things, but the nearest to success I have gotten is 
the error:

error 106: @attr must be a field: R.styleable#Foo_bar

Even though Foo.bar *is* a field.

Despite a bunch of googling, I haven't found anyone that has got this to work - 
nowhere except in the Android source that is.

Original issue reported on code.google.com by paul.leb...@gmail.com on 16 Jul 2013 at 2:26