diff options
author | Tor Norbye <tnorbye@google.com> | 2011-10-20 18:33:24 -0700 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2011-10-26 13:27:07 -0700 |
commit | a79073ec1fd16a0b1bd206416677e057483e85c5 (patch) | |
tree | 5b46cceba88a69ad6fbb2887cea84b3a4e20533a /docs | |
parent | 6a32475b88d138562a0d19d94078ba83999baa75 (diff) | |
download | sdk-a79073ec1fd16a0b1bd206416677e057483e85c5.zip sdk-a79073ec1fd16a0b1bd206416677e057483e85c5.tar.gz sdk-a79073ec1fd16a0b1bd206416677e057483e85c5.tar.bz2 |
Remove layoutopt; replaced by the more generic "lint" tool.
Change-Id: Ia6dc357106aa49fa5c27c6283eac62c4cc19967b
Diffstat (limited to 'docs')
-rwxr-xr-x | docs/gscripts.txt | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/docs/gscripts.txt b/docs/gscripts.txt deleted file mode 100755 index e3f5d18..0000000 --- a/docs/gscripts.txt +++ /dev/null @@ -1,49 +0,0 @@ -This file describes the "gscripts" folder in ADT (Android Eclipse Plugin). - - ----------- -- Overview ----------- - -ADT is the Android Eclipse Plugin. The plugin delivers a new editor, called -the the Graphical Layout Editor (a.k.a. GLE2), to visually edit Android layout -XML files. - -Details on how to handle the various Android views and layouts is not -hardcoded in the GLE2 itself. Instead it is differed to a bunch of Groovy -scripts. - - -(TODO: expand/replace with a better overview of implementation... goal is -to use this a doc for 3rd-party projects to implement their own rules.) - - - -------------- -- Groovy tips -------------- - - -- Debugging: - -If you run ADT in debug mode and want to trace into Groovy -methods, you need to tell Eclipse where to find the Groovy source code. - -To do this: -- in Eclipse, import an existing project -- Select the project at <android-source-tree>/prebuilt/common/groovy/ -- This will add a new Eclipse project named "GroovySrc" which contains - a single zip file with the groovy source. -- ADT is already pre-configured to find the Groovy source in the GroovySrc - project. - - - -- Private methods: - -Be careful when adding new helper methods in the BaseView -or BaseLayout classes. - -Due to the way Groovy looks up methods, private methods will *not* be found by -same-class methods if invoked by a derived class in the context of a closure -(which is about the case of all these helper methods.) |