diff options
author | Tor Norbye <tnorbye@google.com> | 2012-03-06 14:20:00 -0800 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2012-03-08 07:10:05 -0800 |
commit | 9bfb05e9d9ea4b2b969e50c3096e2fdb95653648 (patch) | |
tree | b74b3aa318789abfa19441131a53134fee8ed960 /eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/BaseLayoutRule.java | |
parent | ce07f83d079dae516b8f3aca9220d6efd782d381 (diff) | |
download | sdk-9bfb05e9d9ea4b2b969e50c3096e2fdb95653648.zip sdk-9bfb05e9d9ea4b2b969e50c3096e2fdb95653648.tar.gz sdk-9bfb05e9d9ea4b2b969e50c3096e2fdb95653648.tar.bz2 |
Handle the android support gridlayout library automatically
This changeset adds support for the android support library's
GridLayout library project.
When you create a new layout with the GridLayout, or when you drop a
GridLayout, the IDE checks whether you need the compatibility version
of GridLayout (e.g. min sdk < 14), and if so, offers to install it.
This will then first run the SDK manager to install the android
support package into extras, and then it creates a local library
project in the Eclipse workspace, and updates the library dependency
to reference it.
Finally, it rewrites tags such that the layout will use the
compatibility package for the <GridLayout> and <Space> tags. This is
done in the node handler, so client rule code will automatically get
the right compatibility tag; they don't need to handle it there.
Change-Id: I6da926eee7ffa956832ddd311d4180e8ff38ae07
Diffstat (limited to 'eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/BaseLayoutRule.java')
0 files changed, 0 insertions, 0 deletions