Android Extensions: handle layout file rename

This commit is contained in:
Yan Zhulanow
2016-03-25 16:38:43 +03:00
parent 47b3394f62
commit 6e14c11280
7 changed files with 145 additions and 6 deletions
@@ -0,0 +1,10 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<Button
android:id="@+id/login"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</FrameLayout>
@@ -0,0 +1,12 @@
package com.myapp
import android.app.Activity
import android.os.Bundle
import java.io.File
import kotlinx.android.synthetic.main.layout.*
class MyActivity : Activity() {
override fun onCreate(savedInstanceState: Bundle?) {}
val button = <caret>login
}