summaryrefslogtreecommitdiff
path: root/tools/aapt2/integration-tests
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2016-03-10 21:55:04 -0800
committerAdam Lesinski <adamlesinski@google.com>2016-03-11 00:22:52 -0800
commit7656554f91b40bc93bf94c89afcad4a9a8ced884 (patch)
tree76a275c869513d419dc85ee2b7f946688043e3d9 /tools/aapt2/integration-tests
parent5b37ef489a4090da3643041c8d0e6efa282ad8b6 (diff)
AAPT2: Add descriptions of Attributes in Styleables for R.java
Change-Id: I69e7b73cbdfe4baf502348397435c501ae29ff5e
Diffstat (limited to 'tools/aapt2/integration-tests')
-rw-r--r--tools/aapt2/integration-tests/StaticLibOne/res/values/values.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/aapt2/integration-tests/StaticLibOne/res/values/values.xml b/tools/aapt2/integration-tests/StaticLibOne/res/values/values.xml
index 2b24544d3d83..d09a4851f7b4 100644
--- a/tools/aapt2/integration-tests/StaticLibOne/res/values/values.xml
+++ b/tools/aapt2/integration-tests/StaticLibOne/res/values/values.xml
@@ -15,8 +15,13 @@
-->
<resources>
+ <!-- An attribute from StaticLibOne -->
<attr name="StaticLibOne_attr" format="string" />
<string name="Foo">Foo</string>
<string name="Foo" product="tablet">Bar</string>
+
+ <declare-styleable name="Widget">
+ <attr name="StaticLibOne_attr" />
+ </declare-styleable>
</resources>