diff options
author | Adam Lesinski <adamlesinski@google.com> | 2016-08-25 12:26:56 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2016-08-31 18:32:34 -0700 |
commit | 5eeaaddffd23d8d85aeb321e3ceea626e42cf9de (patch) | |
tree | dcd102c0f14825c34c2251427db84e48cb11d8a7 /tools/aapt2/integration-tests | |
parent | 79758c8e7706f3cce265a881cc66df8771d3c456 (diff) |
AAPT2: Add Inline Complex XML support
See: https://developer.android.com/guide/topics/resources/complex-xml-resources.html
Change-Id: I8274c85e25cabf90423141c228697e873167d136
Diffstat (limited to 'tools/aapt2/integration-tests')
-rw-r--r-- | tools/aapt2/integration-tests/AppOne/res/layout/special.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/aapt2/integration-tests/AppOne/res/layout/special.xml b/tools/aapt2/integration-tests/AppOne/res/layout/special.xml new file mode 100644 index 000000000000..28c85ca92019 --- /dev/null +++ b/tools/aapt2/integration-tests/AppOne/res/layout/special.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<View xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="wrap_content" + android:layout_height="wrap_content"> + <include> + <aapt:attr name="layout" xmlns:aapt="http://schemas.android.com/aapt"> + <RelativeLayout android:id="@+id/hello" /> + </aapt:attr> + </include> +</View> |