diff options
author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-07-23 14:06:59 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-07-23 15:00:22 +0200 |
commit | 5065c969e9f07086719b44d89686129f7e3504f8 (patch) | |
tree | 4f0ade7175e14fc0ee9a5537d279111414738610 /integration-tests/gradle/projects/it-android-0/src/main | |
parent | 9806f309ae4c16f72f685c5aca1dad5d8159f48f (diff) | |
download | dokka-5065c969e9f07086719b44d89686129f7e3504f8.tar.gz dokka-5065c969e9f07086719b44d89686129f7e3504f8.tar.bz2 dokka-5065c969e9f07086719b44d89686129f7e3504f8.zip |
Add link to androidx documentation by default for Android projects
Diffstat (limited to 'integration-tests/gradle/projects/it-android-0/src/main')
-rw-r--r-- | integration-tests/gradle/projects/it-android-0/src/main/java/it/android/IntegrationTestActivity.kt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/integration-tests/gradle/projects/it-android-0/src/main/java/it/android/IntegrationTestActivity.kt b/integration-tests/gradle/projects/it-android-0/src/main/java/it/android/IntegrationTestActivity.kt new file mode 100644 index 00000000..1792818b --- /dev/null +++ b/integration-tests/gradle/projects/it-android-0/src/main/java/it/android/IntegrationTestActivity.kt @@ -0,0 +1,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) + } +}
\ No newline at end of file |