aboutsummaryrefslogtreecommitdiff
path: root/attribute_stats/README.txt
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2020-05-06 15:09:12 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-05-06 15:09:12 +0000
commitf1a59c98333d28b04b74772f204bcc1df6e83634 (patch)
treefd845444b59dfc72656b7781596e0b1a0662c4c7 /attribute_stats/README.txt
parent14a008655dafe4ca1fc7d014a16a1c401761675c (diff)
parentd58f8ba3b1869530926bd5f167103dfa161787a1 (diff)
downloadsdk-f1a59c98333d28b04b74772f204bcc1df6e83634.tar.gz
Merge "Revert "Remove unused project."" am: fc7cda06f5 am: d3c69fa48e am: d58f8ba3b1
Change-Id: I297730ce4f9da2bf30dde696439ab825cd642b00
Diffstat (limited to 'attribute_stats/README.txt')
-rw-r--r--attribute_stats/README.txt13
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.