InputProfilFirstFiveActivity.kt 1.07 KB
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)
        }

    }
}