Merge commit '2aaa22e0575faf6c83990233333fbf010fa46ef3' into eclair-plus-aosp
* commit '2aaa22e0575faf6c83990233333fbf010fa46ef3':
New rules for layoutopt: IncorrectHeight/WidthIn[Horizontal]ScrollView, UselessView.
Merge commit '8f242703341e616f9239706a27f5ecb675f808e7' into eclair-plus-aosp
* commit '8f242703341e616f9239706a27f5ecb675f808e7':
Add support for loading 9-patch from a stream.
Merge commit '894825887e9668872c1925704afcf3340b7c009b' into eclair-plus-aosp
* commit '894825887e9668872c1925704afcf3340b7c009b':
Put kxml back in adt-test
Merge commit '16a56b8ccd39c812c8c7b86bd83ec9c492d19de9' into eclair-plus-aosp
* commit '16a56b8ccd39c812c8c7b86bd83ec9c492d19de9':
Fix NPE in layoutopt when trying to open non-XML files.
Merge commit '67d9bcdf5cfe8c2862280ea6e55c4beed05432ef' into eclair-plus-aosp
* commit '67d9bcdf5cfe8c2862280ea6e55c4beed05432ef':
Only create folder if not present.
Merge commit '8251e4ef4672be54a3f38748c05fd66c967c64b4' into eclair-plus-aosp
* commit '8251e4ef4672be54a3f38748c05fd66c967c64b4':
Add layoutlib.jar to the classpath of adt-tests
Merge commit 'b7e69d20a42297d0d80a0a0a0f88320d8e536ff5' into eclair-plus-aosp
* commit 'b7e69d20a42297d0d80a0a0a0f88320d8e536ff5':
Add 3 more rules to layoutopt/uix:
Merge commit '24bf2fa3e4aebc0aa311dd3a14ea60f4af56fa39' into eclair-plus-aosp
* commit '24bf2fa3e4aebc0aa311dd3a14ea60f4af56fa39':
Add tests from layoutlib to adt-tests
Merge commit 'b6e85c0548be6b52e11e64f893cc6e5d49a740f2' into eclair-plus-aosp
* commit 'b6e85c0548be6b52e11e64f893cc6e5d49a740f2':
Add sdklib tests to the adt-tests Unit tests.
Merge commit 'e96bc57aad64d435c1986bf415cb1c5f974426b9' into eclair-plus-aosp
* commit 'e96bc57aad64d435c1986bf415cb1c5f974426b9':
Fix best match resource selection when there's only one match.
Merge commit '06d3ec157ee7bebbf550924af267ee168336e085' into eclair-plus-aosp
* commit '06d3ec157ee7bebbf550924af267ee168336e085':
Only process XML files in layoutopt.
Merge commit 'd01b8dd3c73add238bb4b632ece4a42e44bae126' into eclair-plus-aosp
* commit 'd01b8dd3c73add238bb4b632ece4a42e44bae126':
Add new rules to layoutopt: UseCompoundDrawables and UselessLayout.
Merge commit '06f70393bd6c10c24136492a4616019822c63299' into eclair-plus-aosp
* commit '06f70393bd6c10c24136492a4616019822c63299':
New layout optimization tool. Run layoutopt on the command line.
Merge commit '1061c0c7dc20479626aa8b2d71485c9e17e7daf7' into eclair-plus-aosp
* commit '1061c0c7dc20479626aa8b2d71485c9e17e7daf7':
ADT: Create project from existing sample in New Project Wizard
Merge commit '2ace885b2945aba76266bc54ad9fa59fb4e05187' into eclair-plus-aosp
* commit '2ace885b2945aba76266bc54ad9fa59fb4e05187':
ADT Manifest Editor: Fix for uses-sdk dup that won't go away.
This change also refactors the uix library to remove an unnecessary class (LayoutNode.)
The refactoring helps writing cleaner script by accessing only the node object instead
of xml and node. This change also augment the capabilities of the node in Groovy scripts.
Change-Id: Id7515f9a79826909834d82496a6d9dfbc19988ad
The UI workflow:
- user selects the new "Create project from existingsample" radio button
- user selects an SDK target in the NPW
- a popup is filled with all available samples
This also fixes 2 edge cases:
- when the selected sample contains a build|default.propertie that is
a base of the currently selected SDK target, don't reset it.
- when the user manually changes the project name or the app name for
the sample, simply empty the fields and the next selected sample
will recompute the adequate names. Any non-empty user input is never
overridden.
SDK BUG 2121819
Change-Id: I69afafa460b86942046ef6baca3d4c7ee7dbe97d
Resource with qualifiers take precedence over the ones without
even if the qualifiers are not present on the requested configuration.
Change-Id: I0d19889064e8031179ea6ee13c93a4198fe971fd