• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Attribute Statistics
2---------------------
3
4This program gathers statistics about attribute usage in layout
5files. This is how the "topAttrs" attributes listed in ADT's
6extra-view-metadata.xml file (which drives the common attributes
7listed in the top of the context menu) is determined by running this
8script on a body of sample Android code, such as the AOSP repository.
9
10This program takes one or more directory paths, and then it searches
11all of them recursively for layout files that are not in folders
12containing the string "test", and computes and prints frequency
13statistics.
14