summaryrefslogtreecommitdiffstats
path: root/tools/aapt2/data/res
Commit message (Collapse)AuthorAgeFilesLines
* AAPT2: Proguard rules generation added.Adam Lesinski2015-06-091-0/+3
| | | | Change-Id: Ifbe79516cd9a1ade471e211a259301c63b62ac67
* Add namespace handling in attribute valuesAdam Lesinski2015-05-042-2/+4
| | | | | | | | | | | | | | | | | | Previously, you could only reference namespace prefixes in attribute names: <View xmlns:appcompat="http://schemas.android.com/apk/res/android.support.v7.appcompat" appcompat:name="hey" ... Now you can also reference them in resource names within an attribute value: ... android:text="@appcompat:string/confirm" ... Which will be treated as "@android.support.v7.appcompat:string/confirm". Change-Id: Ib076e867a990c80cf877a704eb77cd1ef0b23b52
* AAPT2: Add library supportAdam Lesinski2015-04-151-1/+1
| | | | Change-Id: I307f56d9631784ab29ee4156d94886f9b2f25b30
* AAPT2: Adding basic binding supportAdam Lesinski2015-04-101-0/+4
| | | | | | | | | | This is incomplete. Still requires: - filling in layout information in the resulting .bind.xml - processing elements with <view class=""/> - processing imports Change-Id: Ie5d4c5e6435591bbed3248129a548736244894eb
* Add PNG and 9-patch supportAdam Lesinski2015-04-092-0/+0
| | | | Change-Id: I9ecdfdf82b82d59084490da518e167e256afd5f2
* AAPT2Adam Lesinski2015-04-026-0/+65
First checking of AAPT2. The individual phases of AAPT2 work, but there are some missing pieces. For early testing we are missing: - Need to properly mark file references and include them in package - Need to package into zip Final AAPT for apps we are missing: - Need to crush PNGs - Need to parse 9-patches - Need to validate all of AndroidManifest.xml - Need to write align method to align resource tables for splits. Final AAPT for apps + system we are missing: - Need to handle overlays - Need to store comments for R file - Need to handle --shared-lib (dynamic references too). New AAPT features coming: - Need to import compiled libraries - Name mangling - R file generation for library code Change-Id: I95f8a63581b81a1f424ae6fb2c373c883b72c18d