blob: 1792818bcea51e950b8a686071605265a0b9e2ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package it.android
import android.annotation.SuppressLint
import android.os.Bundle
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
/**
* Some Activity implementing [AppCompatActivity] from android x
*/
class IntegrationTestActivity : AppCompatActivity() {
/**
* Will show a small happy text
*/
@SuppressLint("SetTextI18n")
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
val textView = TextView(this)
textView.text = "I am so happy :)"
setContentView(textView)
}
}
|