aboutsummaryrefslogtreecommitdiffstats
path: root/sdk_common/src
Commit message (Collapse)AuthorAgeFilesLines
* Multi-Configuration Layout EditingTor Norbye2012-10-031-0/+47
| | | | | | | | This changeset adds support for previewing other configurations (as well as including contexts) for a layout, with live updates. Change-Id: Iff3523d6f5749b3287716e563330fb18c8576611
* Validate user edits in XML filesTor Norbye2012-09-205-31/+202
| | | | | | | | | | | | | | | | | | | | Around ADT 15 or so we introduced a bunch of optimizations to run AAPT much less frequently, since with large projects it can take a long time, and end up blocking the UI if you try to save twice. Unfortunately, one side effect of this change is that if you edit only the *value* of an attribute, we will not re-run aapt, which means that if you set the value to a bogus value, you will get no error message until the next time AAPT runs (usually when you try to run). This changeset fixes this. We already have the attribute metadata which aapt uses, so now, when an XML file is changed and saved, we process it with an XML pull parser, and validate all the Android namespace attributes. If any are found to not be correct, then we request a full AAPT process, which will then display errors as appropriate. Change-Id: I374c19648e29c27c6d82616b3ee602cb2343cd3a
* Rename ide_common to sdk_commonSiva Velusamy2012-09-1848-0/+9666
Change-Id: I1b39ee439a532f3f6758be35b569948e2e906665