Android plugin cli arguments test

This commit is contained in:
Yan Zhulanow
2015-02-26 19:36:01 +03:00
parent 41d9477870
commit 7d31b56ef6
10 changed files with 68 additions and 0 deletions
@@ -0,0 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.myapp"
android:versionCode="1"
android:versionName="1.0" >
</manifest>
@@ -0,0 +1,9 @@
package android.app
public open class Activity {
public open fun findViewById([suppress("UNUSED_PARAMETER")] id: Int): android.view.View = null!!
}
public open class Fragment {
public open fun getView(): android.view.View = null!!
}
@@ -0,0 +1,5 @@
package android.view
public open class View {
public open fun findViewById([suppress("UNUSED_PARAMETER")] id: Int): android.view.View = null!!
}
@@ -0,0 +1,5 @@
package android.widget
public open class TextView : android.view.View() {
public fun setText([suppress("UNUSED_PARAMETER")] text: String) {}
}
@@ -0,0 +1,5 @@
<TextView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />