2018-01-04 19:52:25 +01:00
|
|
|
package jp.juggler.subwaytooter
|
|
|
|
|
|
|
|
import android.os.Bundle
|
2019-02-15 02:51:22 +01:00
|
|
|
import androidx.appcompat.app.AppCompatActivity
|
2018-01-04 19:52:25 +01:00
|
|
|
import android.widget.TextView
|
2018-12-01 00:02:18 +01:00
|
|
|
import jp.juggler.util.*
|
2018-01-04 19:52:25 +01:00
|
|
|
|
|
|
|
class ActOSSLicense : AppCompatActivity() {
|
|
|
|
|
|
|
|
companion object {
|
|
|
|
private val log = LogCategory("ActOSSLicense")
|
|
|
|
}
|
2018-01-21 13:46:36 +01:00
|
|
|
|
2018-01-04 19:52:25 +01:00
|
|
|
override fun onCreate(savedInstanceState : Bundle?) {
|
|
|
|
super.onCreate(savedInstanceState)
|
2019-10-07 21:39:56 +02:00
|
|
|
App1.setActivityTheme(this, noActionBar = true)
|
2018-01-04 19:52:25 +01:00
|
|
|
setContentView(R.layout.act_oss_license)
|
2019-08-31 16:33:13 +02:00
|
|
|
App1.initEdgeToEdge(this)
|
2018-01-04 19:52:25 +01:00
|
|
|
|
|
|
|
try {
|
2018-09-27 16:21:37 +02:00
|
|
|
val tv = findViewById<TextView>(R.id.tvText)
|
|
|
|
tv.text = loadRawResource(R.raw.oss_license).decodeUTF8()
|
2018-01-04 19:52:25 +01:00
|
|
|
} catch(ex : Throwable) {
|
|
|
|
log.trace(ex)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|