Support View in android-compiler-plugin

This commit is contained in:
Yan Zhulanow
2015-03-04 21:19:28 +03:00
parent 33a1aa342f
commit 4cc5e9248a
41 changed files with 637 additions and 60 deletions
@@ -0,0 +1,19 @@
package kotlinx.android.synthetic.layout.view
import android.app.Activity
import android.app.Fragment
import android.view.View
import android.widget.*
val View.item_detail_container: FrameLayout
get() = findViewById(0) as FrameLayout
val View.textView1: TextView
get() = findViewById(0) as TextView
val View.password: EditText
get() = findViewById(0) as EditText
val View.login: Button
get() = findViewById(0) as Button