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
14 lines
634 B
XML
14 lines
634 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
|
<string name="hooha"><font bgcolor="#ffffff">Hey guys!</font> <xliff:g>My</xliff:g> name is <b>Adam</b>. How <b><i>are</i></b> you?</string>
|
|
<public name="hooha" type="string" id="0x7f020001"/>
|
|
<string name="wow">@android:string/ok</string>
|
|
<public name="image" type="drawable" id="0x7f060000" />
|
|
<attr name="layout_width" format="boolean" />
|
|
<attr name="flags">
|
|
<flag name="complex" value="1" />
|
|
<flag name="pub" value="2" />
|
|
<flag name="weak" value="4" />
|
|
</attr>
|
|
</resources>
|