39 lines
1.2 KiB
Kotlin
39 lines
1.2 KiB
Kotlin
package kotlinx.android.synthetic.layout1
|
|
|
|
import android.app.*
|
|
import android.view.*
|
|
import android.widget.*
|
|
import android.webkit.*
|
|
import android.inputmethodservice.*
|
|
import android.opengl.*
|
|
import android.appwidget.*
|
|
import android.support.v4.app.*
|
|
import android.support.v4.view.*
|
|
import android.support.v4.widget.*
|
|
import kotlin.internal.flexible.ft
|
|
|
|
val android.app.Activity.frameLayout: ft<FrameLayout, FrameLayout?>
|
|
get() = findViewById(0) as? FrameLayout
|
|
|
|
val android.app.Fragment.frameLayout: ft<FrameLayout, FrameLayout?>
|
|
get() = getView().findViewById(0) as? FrameLayout
|
|
|
|
val android.app.Activity.passwordField: ft<TextView, TextView?>
|
|
get() = findViewById(0) as? TextView
|
|
|
|
val android.app.Fragment.passwordField: ft<TextView, TextView?>
|
|
get() = getView().findViewById(0) as? TextView
|
|
|
|
val android.app.Activity.passwordCaption: ft<EditText, EditText?>
|
|
get() = findViewById(0) as? EditText
|
|
|
|
val android.app.Fragment.passwordCaption: ft<EditText, EditText?>
|
|
get() = getView().findViewById(0) as? EditText
|
|
|
|
val android.app.Activity.loginButton: ft<Button, Button?>
|
|
get() = findViewById(0) as? Button
|
|
|
|
val android.app.Fragment.loginButton: ft<Button, Button?>
|
|
get() = getView().findViewById(0) as? Button
|
|
|