InputProfilFirstFiveActivity.kt
1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package com.example.vip
import android.content.Intent
import android.graphics.Color
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import kotlinx.android.synthetic.main.activity_input_profil_first_five.*
class InputProfilFirstFiveActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_input_profil_first_five)
inmanButton.setOnClickListener {
if(outmanButton.isChecked){
outmanButton.isChecked=false
}
}
outmanButton.setOnClickListener {
if(inmanButton.isChecked){
inmanButton.isChecked=false
}
}
previousButton.setOnClickListener {
var intent = Intent(this, InputProfilFirstFourActivity::class.java)
startActivity(intent)
}
nextButton.setOnClickListener {
var intent = Intent(this, InputProfilFirstSixActivity::class.java)
startActivity(intent)
}
}
}