Last active
June 12, 2019 11:13
-
-
Save tmaxxdd/c45eb355d5340b52d93a7c40ae6ddd97 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//XML | |
<TextView | |
android:id="@+id/hello" | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content"/> | |
//Import all layout | |
kotlinx.android.synthetic.main.activity_main.* | |
//Kotlin | |
activity.hello.text = "Hello World!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment