diff options
Diffstat (limited to 'attribute_stats/README.txt')
-rw-r--r-- | attribute_stats/README.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/attribute_stats/README.txt b/attribute_stats/README.txt new file mode 100644 index 000000000..15f51c2cb --- /dev/null +++ b/attribute_stats/README.txt @@ -0,0 +1,13 @@ +Attribute Statistics +--------------------- + +This program gathers statistics about attribute usage in layout +files. This is how the "topAttrs" attributes listed in ADT's +extra-view-metadata.xml file (which drives the common attributes +listed in the top of the context menu) is determined by running this +script on a body of sample Android code, such as the AOSP repository. + +This program takes one or more directory paths, and then it searches +all of them recursively for layout files that are not in folders +containing the string "test", and computes and prints frequency +statistics. |