是否有任何Android的XML文档?有任何、文档、Android、XML

由网友(穷小子 #)分享简介:有没有任何形式的XML参考?Is there any sort of xml reference?我发现这里面竟然是无价的,我I found this which turned out to be invaluable for me(多)外形采用XML绘图 但我想不通,我怎么应该知道该怎么做,有我没有发现帖子。...

有没有任何形式的XML参考?

Is there any sort of xml reference?

我发现这里面竟然是无价的,我

I found this which turned out to be invaluable for me

(多)外形采用XML绘图

但我想不通,我怎么应该知道该怎么做,有 我没有发现帖子。

But I can't figure out how I was supposed to know how to do that, had I not found that post.

我知道API参考已上市的许多XML属性 类......但对于XML标记?这是哪里记载,我 使用可以建立一个形状<填充> <边角> [固体&GT ; 标签

I know that the api reference has xml attributes listed for many of the classes... but what about xml tags? Where is it documented that I could build a shape using <padding>, <corners>, <solid> tags?

我真的很想知道我在哪里可以找到这些文件。

I'd really like to know where I can find such documentation.

推荐答案

具有XML属性的类别,列出他们在自己的文档的XML属性。属性与布局开头的记录在包含布局类。

The classes which have XML attributes, list them XML attributes in their own documentation. Attributes beginning with layout are documented in the containing layout class.

借助清单文件这里记录。谷歌最近增加了很多新的文件,包括 XML资源文档。看到这个网页上绘制资源。

The manifest file is documented here. Google recently added a lot of new documentation, including documentation on XML resources. See this webpage on drawable resources.

目前资源不是COM prehensive,所以 R.styleable 仍往往是最好的选择。 R.attr 是更好,如果你只是想看看所有的属性,而不是可用的属性一个特定的标记。

There resources aren't comprehensive, so R.styleable is still often the best bet. R.attr is better if you just want to see all attributes, rather than the attributes available for a particular tag.

阅读全文

相关推荐

最新文章