summaryrefslogtreecommitdiff
path: root/android/testData/libModule
diff options
context:
space:
mode:
authorEugene Kudelevsky <Eugene.Kudelevsky@jetbrains.com>2013-08-29 16:28:23 +0400
committerEugene Kudelevsky <Eugene.Kudelevsky@jetbrains.com>2013-08-29 16:28:23 +0400
commit572aa60c7ef695c4720a89e5eba45c554ed5a513 (patch)
tree0e3cb2b21cc07df9f8d6f7a5ecf569b78624af54 /android/testData/libModule
parente89b79c94ffd56fa14570b72e40ef392c898d601 (diff)
downloadidea-572aa60c7ef695c4720a89e5eba45c554ed5a513.tar.gz
IDEA-112689 correct support of custom views with custom attributes in library projects
Diffstat (limited to 'android/testData/libModule')
-rw-r--r--android/testData/libModule/LibView.java4
-rw-r--r--android/testData/libModule/customAttrCompletion.xml3
-rw-r--r--android/testData/libModule/customAttrCompletion_after.xml4
-rw-r--r--android/testData/libModule/lib_attrs.xml5
4 files changed, 16 insertions, 0 deletions
diff --git a/android/testData/libModule/LibView.java b/android/testData/libModule/LibView.java
new file mode 100644
index 00000000000..0af9c58edb8
--- /dev/null
+++ b/android/testData/libModule/LibView.java
@@ -0,0 +1,4 @@
+package p1.p2.lib;
+
+public class LibView extends android.view.View {
+} \ No newline at end of file
diff --git a/android/testData/libModule/customAttrCompletion.xml b/android/testData/libModule/customAttrCompletion.xml
new file mode 100644
index 00000000000..fc90e2b24aa
--- /dev/null
+++ b/android/testData/libModule/customAttrCompletion.xml
@@ -0,0 +1,3 @@
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android">
+ <p1.p2.lib.LibView myLib<caret>/>
+</LinearLayout>
diff --git a/android/testData/libModule/customAttrCompletion_after.xml b/android/testData/libModule/customAttrCompletion_after.xml
new file mode 100644
index 00000000000..9124fbb25b9
--- /dev/null
+++ b/android/testData/libModule/customAttrCompletion_after.xml
@@ -0,0 +1,4 @@
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res/p1.p2">
+ <p1.p2.lib.LibView app:myLibAttr=""/>
+</LinearLayout>
diff --git a/android/testData/libModule/lib_attrs.xml b/android/testData/libModule/lib_attrs.xml
new file mode 100644
index 00000000000..00e467badb8
--- /dev/null
+++ b/android/testData/libModule/lib_attrs.xml
@@ -0,0 +1,5 @@
+<resources>
+ <declare-styleable name="LibView">
+ <attr name="myLibAttr" format="string"/>
+ </declare-styleable>
+</resources> \ No newline at end of file