Link <Button> to URL Android Studio
I have seen many tutorials on Stack, however none seem to be recent enough to be relevant or don't actually answer the question.
Without using TextView, I want to link a button to an external URL.
My current Button code:
My .kt file code, with a solution I thought would work:
class ActivitySettings : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_settings)...