신기성

prototype complete. previous button pressed

Showing 28 changed files with 228 additions and 19 deletions
......@@ -53,6 +53,8 @@ class InputProfilFifthFourActivity : AppCompatActivity() {
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
if(prof.getString("fifth_four_editText1","")!=""){editText1.setText(prof.getString("fifth_four_editText1",""))}
// 1. 툴바 사용 설정
setSupportActionBar(toolbar)
......
......@@ -53,6 +53,9 @@ class InputProfilFifthOneActivity : AppCompatActivity() {
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
if(prof.getString("fifth_one_editText1","")!=""){editText1.setText(prof.getString("fifth_one_editText1",""))}
if(prof.getString("fifth_one_editText2","")!=""){editText2.setText(prof.getString("fifth_one_editText2",""))}
// 1. 툴바 사용 설정
setSupportActionBar(toolbar)
......
......@@ -52,6 +52,10 @@ class InputProfilFifthThreeActivity : AppCompatActivity() {
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
if(prof.getString("fifth_three_editText1","")!=""){editText1.setText(prof.getString("fifth_three_editText1",""))}
if(prof.getString("fifth_three_editText2","")!=""){editText2.setText(prof.getString("fifth_three_editText2",""))}
if(prof.getString("fifth_three_editText3","")!=""){editText3.setText(prof.getString("fifth_three_editText3",""))}
// 1. 툴바 사용 설정
setSupportActionBar(toolbar)
......
......@@ -54,6 +54,14 @@ class InputProfilFifthTwoActivity : AppCompatActivity() {
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
if(prof.getString("fifth_two_jikjaangButton","none")=="isChecked"){ subLinearLayout.visibility=VISIBLE;jikjaangButton.isChecked=true;}
if(prof.getString("fifth_two_jiyeokButton","none")=="isChecked"){ subLinearLayout.visibility=VISIBLE;jiyeokButton.isChecked=true;}
if(prof.getString("fifth_two_pibooyaangjikjaangButton","none")=="isChecked"){ pibooyaangjikjaangButton.isChecked=true}
if(prof.getString("fifth_two_pibooyaangjiyeokButton","none")=="isChecked"){ pibooyaangjiyeokButton.isChecked=true}
if(prof.getString("fifth_two_uieryoButton","none")=="isChecked"){ uieryoButton.isChecked=true}
if(prof.getString("fifth_two_editText1","")!=""){editText1.setText(prof.getString("fifth_two_editText1",""))}
// 1. 툴바 사용 설정
setSupportActionBar(toolbar)
......
......@@ -7,6 +7,7 @@ import android.graphics.Color
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.widget.Button
import android.widget.TextView
import android.widget.Toast
import androidx.appcompat.app.AlertDialog
......@@ -60,6 +61,12 @@ class InputProfilFirstFiveActivity : AppCompatActivity() {
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
if(prof.getInt("c1_2",0)==1){
inmanButton.isChecked=true}
if(prof.getInt("c1_3",0)==1){outmanButton.isChecked=true}
// 1. 툴바 사용 설정
setSupportActionBar(toolbar)
......
......@@ -52,6 +52,12 @@ class InputProfilFirstSixActivity : AppCompatActivity() {
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
if(prof.getInt("c13_2",0)==1){gagoojooButton.isChecked=true}
if(prof.getInt("c13_3",0)==1){gagoowonButton.isChecked=true}
// 1. 툴바 사용 설정
setSupportActionBar(toolbar)
......
......@@ -54,6 +54,11 @@ class InputProfilFirstThreeActivity : AppCompatActivity() {
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
if(prof.getInt("c3_2",0)==1){manButton.isChecked=true}
if(prof.getInt("c3_3",0)==1){womanButton.isChecked=true}
// 1. 툴바 사용 설정
setSupportActionBar(toolbar)
......
......@@ -6,6 +6,7 @@ import android.content.SharedPreferences
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.widget.Button
import android.widget.EditText
import android.widget.TextView
import android.widget.Toast
......@@ -51,6 +52,16 @@ class InputProfilFirstTwoActivity : AppCompatActivity() {
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
if(prof.getInt("c1_2",0)==1){findViewById<EditText>(R.id.editText).setText(prof.getString("birthdateinput",""))}
if(prof.getInt("c1_3",0)==1){findViewById<EditText>(R.id.editText).setText(prof.getString("birthdateinput",""))}
if(prof.getInt("c1_4",0)==1){findViewById<EditText>(R.id.editText).setText(prof.getString("birthdateinput",""))}
if(prof.getInt("c1_5",0)==1){findViewById<EditText>(R.id.editText).setText(prof.getString("birthdateinput",""))}
if(prof.getInt("c1_6",0)==1){findViewById<EditText>(R.id.editText).setText(prof.getString("birthdateinput",""))}
if(prof.getInt("c1_7",0)==1){findViewById<EditText>(R.id.editText).setText(prof.getString("birthdateinput",""))}
// 1. 툴바 사용 설정
setSupportActionBar(toolbar)
......@@ -138,31 +149,35 @@ class InputProfilFirstTwoActivity : AppCompatActivity() {
}
nextButton.setOnClickListener {
editor.remove("c1_2")
editor.remove("c1_3")
editor.remove("c1_4")
editor.remove("c1_5")
editor.remove("c1_6")
editor.remove("c1_7")
editor.remove("c2_2")
editor.remove("c2_3")
editor.remove("c2_4")
editor.remove("c2_5")
editor.remove("c2_6")
editor.remove("c2_7")
editor.remove("first_two")
editor.commit()
editor.remove("birthdateinput")
editor.commit()
var birthdateinput=findViewById<EditText>(R.id.editText).text.toString()
var birthdateint:Int
if (birthdateinput == "") {
}
else {
editor.putString("birthdateinput",birthdateinput)
editor.commit()
birthdateint = birthdateinput.toInt()
if ((2019-birthdateint)<19){
editor.putInt("c1_2",1)
editor.putInt("c2_2",1)
editor.commit()
editor.putString("first_two","done");editor.commit()
Toast.makeText(baseContext, prof.getInt("c1_2",0).toString(), Toast.LENGTH_SHORT).show()
//Toast.makeText(baseContext, prof.getInt("c1_2",0).toString(), Toast.LENGTH_SHORT).show()
//마지막장에 상관없음 추가
/*
FirebaseMessaging.getInstance().subscribeToTopic("c1_2")
.addOnCompleteListener { task ->
var msg = getString(R.string.msg_subscribed)
......@@ -170,34 +185,37 @@ class InputProfilFirstTwoActivity : AppCompatActivity() {
msg = getString(R.string.msg_subscribe_failed)
}
}
*/
}
else if((2019-birthdateint)<34){
editor.putInt("c1_3",1)
editor.putInt("c2_3",1)
editor.commit()
editor.putString("first_two","done");editor.commit()
}
else if((2019-birthdateint)<40){
editor.putInt("c1_4",1)
editor.putInt("c2_4",1)
editor.commit()
editor.putString("first_two","done");editor.commit()
}
else if((2019-birthdateint)<49){
editor.putInt("c1_5",1)
editor.putInt("c2_5",1)
editor.commit()
editor.putString("first_two","done");editor.commit()
}
else if((2019-birthdateint)<59){
editor.putInt("c1_6",1)
editor.putInt("c2_6",1)
editor.commit()
editor.putString("first_two","done");editor.commit()
}
else{
editor.putInt("c1_7",1)
editor.putInt("c2_7",1)
editor.commit()
editor.putString("first_two","done");editor.commit()
......
......@@ -51,6 +51,12 @@ class InputProfilFourthFiveActivity : AppCompatActivity() {
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
if(prof.getInt("c8_1",0)==1){ nothingButton.isChecked=true}
if(prof.getInt("c8_12",0)==1){ iljaeButton.isChecked=true}
if(prof.getInt("c8_13",0)==1){ specialpihaeButton.isChecked=true}
if(prof.getInt("c8_14",0)==1){ sanuppihaeButton.isChecked=true}
if(prof.getInt("c8_17",0)==1){ guitarButton.isChecked=true}
// 1. 툴바 사용 설정
setSupportActionBar(toolbar)
......
......@@ -54,6 +54,18 @@ class InputProfilFourthFourActivity : AppCompatActivity() {
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
if(prof.getInt("c8_1",0)==1){ nothingButton.isChecked=true}
if(prof.getInt("c8_9",0)==1){ pokryukButton.isChecked=true}
if(prof.getInt("c8_9",0)==1){ pihaeButton.isChecked=true}
if(prof.getInt("c8_9",0)==1){ kachoolButton.isChecked=true}
if(prof.getInt("c8_9",0)==1){ sagoButton.isChecked=true}
if(prof.getInt("c8_15",0)==1){ ihonButton.isChecked=true}
if(prof.getInt("c8_9",0)==1){ jaehaeButton.isChecked=true}
if(prof.getInt("c8_16",0)==1){ hakkyobaakButton.isChecked=true}
if(prof.getInt("c5_9",0)==1){ siljikButton.isChecked=true}
if(prof.getInt("c8_17",0)==1){ guitarButton.isChecked=true}
// 1. 툴바 사용 설정
setSupportActionBar(toolbar)
......
......@@ -55,6 +55,16 @@ class InputProfilFourthOneActivity : AppCompatActivity() {
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
if(prof.getInt("c14_2",0)==1){ yesButton.isChecked=true}
if(prof.getInt("c14_3",0)==1){ subLinearLayout.visibility=VISIBLE;noButton.isChecked=true;}
if(prof.getInt("c16_2",0)==1){ jeonsaeButton.isChecked=true}
if(prof.getInt("c16_3",0)==1){ wolseButton.isChecked=true}
if(prof.getInt("c16_4",0)==1){ kongkongButton.isChecked=true}
if(prof.getInt("c16_5",0)==1){ moosangButton.isChecked=true}
if(prof.getInt("c16_6",0)==1){ bojangButton.isChecked=true}
if(prof.getInt("c16_7",0)==1){ guitarButton.isChecked=true}
// 1. 툴바 사용 설정
setSupportActionBar(toolbar)
......
......@@ -54,6 +54,19 @@ class InputProfilFourthThreeActivity : AppCompatActivity() {
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
if(prof.getInt("c8_1",0)==1){ nothingButton.isChecked=true}
if(prof.getInt("c8_3",0)==1){ jeosodeukButton.isChecked=true}
if(prof.getInt("c8_7",0)==1){ hanboomoButton.isChecked=true}
if(prof.getInt("c8_5",0)==1){ oegookinButton.isChecked=true}
if(prof.getInt("c8_4",0)==1){ damoonhwaButton.isChecked=true}
if(prof.getInt("c8_2",0)==1){ jaangaeButton.isChecked=true}
if(prof.getInt("c7_1",0)==1){ imshinchoolsanButton.isChecked=true}
if(prof.getInt("c8_10",0)==1){ ipyaangButton.isChecked=true}
if(prof.getInt("c8_11",0)==1){ gaajungButton.isChecked=true}
if(prof.getInt("c8_6",0)==1){ bookhanButton.isChecked=true}
if(prof.getInt("c8_8",0)==1){ gookgayoogongButton.isChecked=true}
if(prof.getInt("c8_17",0)==1){ guitarButton.isChecked=true}
// 1. 툴바 사용 설정
setSupportActionBar(toolbar)
......
......@@ -8,6 +8,7 @@ import android.os.Bundle
import android.util.Log
import android.view.View.GONE
import android.view.View.VISIBLE
import android.widget.Button
import android.widget.TextView
import android.widget.Toast
import androidx.appcompat.app.AlertDialog
......@@ -54,6 +55,15 @@ class InputProfilFourthTwoActivity : AppCompatActivity() {
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
if(prof.getInt("c15_2",0)==1){ yesButton.isChecked=true}
if(prof.getInt("c15_3",0)==1){ subLinearLayout.visibility= VISIBLE;noButton.isChecked=true;}
if(prof.getInt("c16_2",0)==1){ jeonsaeButton.isChecked=true}
if(prof.getInt("c16_3",0)==1){ wolseButton.isChecked=true}
if(prof.getInt("c16_4",0)==1){ kongkongButton.isChecked=true}
if(prof.getInt("c16_5",0)==1){ moosangButton.isChecked=true}
if(prof.getInt("c16_6",0)==1){ bojangButton.isChecked=true}
if(prof.getInt("c16_7",0)==1){ guitarButton.isChecked=true}
// 1. 툴바 사용 설정
setSupportActionBar(toolbar)
......
......@@ -6,6 +6,7 @@ import android.content.SharedPreferences
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.widget.Button
import android.widget.TextView
import android.widget.Toast
import androidx.appcompat.app.AlertDialog
......@@ -49,6 +50,41 @@ class InputProfilSecondOneActivity : AppCompatActivity() {
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
if(prof.getInt("c10_2 ",0)==1){baewoojaButton.isChecked=true}
if(prof.getInt("c10_3 ",0)==1){baewoojaboomoButton.isChecked=true}
if(prof.getInt("c10_4 ",0)==1){baewoojajoboomoButton.isChecked=true}
if(prof.getInt("c10_5 ",0)==1){brotherButton.isChecked=true}
if(prof.getInt("c10_6 ",0)==1){baewoojabrotherButton.isChecked=true}
if(prof.getInt("c10_7 ",0)==1){donggeoButton.isChecked=true}
if(prof.getInt("c10_8 ",0)==1){fatherButton.isChecked=true}
if(prof.getInt("c10_9 ",0)==1){motherButton.isChecked=true}
if(prof.getInt("c10_10",0)==1){grandsonbaewoojaButton.isChecked=true}
if(prof.getInt("c10_11",0)==1){grandfatherButton.isChecked=true}
if(prof.getInt("c10_12",0)==1){grandmotherButton.isChecked=true}
if(prof.getInt("c10_13",0)==1){grandsonButton.isChecked=true}
if(prof.getInt("c10_14",0)==1){janyeoButton.isChecked=true}
if(prof.getInt("c10_15",0)==1){janyeobaewoojaButton.isChecked=true}
if(prof.getInt("c10_18",0)==1){nothingButton.isChecked=true}
// 1. 툴바 사용 설정
setSupportActionBar(toolbar)
......
......@@ -57,6 +57,10 @@ class InputProfilSecondThreeActivity : AppCompatActivity() {
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
if(prof.getString("numOfBS","")!=""){
findViewById<EditText>(R.id.bsNumberEditText).setText(prof.getString("numOfBS",""))
}
// 1. 툴바 사용 설정
setSupportActionBar(toolbar)
......@@ -151,6 +155,7 @@ class InputProfilSecondThreeActivity : AppCompatActivity() {
numOfBS=0
}else{
numOfBS=findViewById<EditText>(R.id.bsNumberEditText).text.toString().toInt()
editor.putString("numOfBS",findViewById<EditText>(R.id.bsNumberEditText).text.toString())
if(numOfBS>=2){
editor.putInt("c10_16",1); editor.commit();editor.putString("second_three","done");editor.commit()
}else if(numOfBS<2){
......
......@@ -54,6 +54,9 @@ class InputProfilSecondTwoActivity : AppCompatActivity() {
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
if(prof.getString("numOfChild","")!=""){
findViewById<EditText>(R.id.childNumberEditText).setText(prof.getString("numOfChild",""))
}
// 1. 툴바 사용 설정
setSupportActionBar(toolbar)
......@@ -140,6 +143,8 @@ class InputProfilSecondTwoActivity : AppCompatActivity() {
numOfChild=0
}else{
numOfChild=findViewById<EditText>(R.id.childNumberEditText).text.toString().toInt()
editor.putString("numOfChild",findViewById<EditText>(R.id.childNumberEditText).text.toString())
editor.commit()
if(numOfChild>=3){
editor.putInt("c10_16",1); editor.commit();editor.putString("second_two","done");editor.commit()
}else if(numOfChild<3){
......
......@@ -56,6 +56,13 @@ class InputProfilThirdFiveActivity : AppCompatActivity() {
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
if(prof.getInt("c8_1",0)==1){ nothingButton.isChecked=true}
if(prof.getInt("c7_2",0)==1){ imshinButton.isChecked=true}
if(prof.getInt("c9_17",0)==1){ nanchiButton.isChecked=true}
if(prof.getInt("c9_18",0)==1){ oeButton.isChecked=true}
if(prof.getInt("c9_19",0)==1){ yoyaangButton.isChecked=true}
if(prof.getInt("c8_17",0)==1){ guitarButton.isChecked=true}
// 1. 툴바 사용 설정
setSupportActionBar(toolbar)
......
......@@ -8,6 +8,7 @@ import android.os.Bundle
import android.util.Log
import android.view.View.GONE
import android.view.View.VISIBLE
import android.widget.Button
import android.widget.TextView
import android.widget.Toast
import androidx.appcompat.app.AlertDialog
......@@ -55,6 +56,25 @@ class InputProfilThirdFourActivity : AppCompatActivity() {
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
if(prof.getInt("c8_2",0)==1){ yesButton.isChecked=true}
if(prof.getInt("c9_2",0)==1){ jichaeButton.isChecked=true}
if(prof.getInt("c9_3",0)==1){ noebyungbyunButton.isChecked=true}
if(prof.getInt("c9_4",0)==1){ sigaakButton.isChecked=true}
if(prof.getInt("c9_5",0)==1){ chungkaakButton.isChecked=true}
if(prof.getInt("c9_6",0)==1){ unuhButton.isChecked=true}
if(prof.getInt("c9_7",0)==1){ ahnmyunButton.isChecked=true}
if(prof.getInt("c9_8",0)==1){ sinjaangButton.isChecked=true}
if(prof.getInt("c9_9",0)==1){ simjaangButton.isChecked=true}
if(prof.getInt("c9_10",0)==1){ gaanjaangButton.isChecked=true}
if(prof.getInt("c9_11",0)==1){ jaangrooButton.isChecked=true}
if(prof.getInt("c9_12",0)==1){ noejungjeungButton.isChecked=true}
if(prof.getInt("c9_13",0)==1){ hoheupkiButton.isChecked=true}
if(prof.getInt("c9_14",0)==1){ jijukButton.isChecked=true}
if(prof.getInt("c9_15",0)==1){ japyeahButton.isChecked=true}
if(prof.getInt("c9_16",0)==1){ jeongshinButton.isChecked=true}
if(prof.getString("noButton","")=="isChecked"){noButton.isChecked=true}
// 1. 툴바 사용 설정
setSupportActionBar(toolbar)
......@@ -150,11 +170,19 @@ class InputProfilThirdFourActivity : AppCompatActivity() {
editor.remove("c9_14")
editor.remove("c9_15")
editor.remove("c9_16")
editor.remove("noButton")
editor.commit()
if(yesButton.isChecked){
editor.putInt("c8_2",1); editor.commit()
}
if(noButton.isChecked){
editor.putString("noButton","isChecked")
editor.commit()
}
if(jichaeButton.isChecked){editor.putInt("c9_2",1); editor.commit();editor.putString("third_four","done");editor.commit()}
if(noebyungbyunButton.isChecked){editor.putInt("c9_3",1); editor.commit();editor.putString("third_four","done");editor.commit()}
if(sigaakButton.isChecked){editor.putInt("c9_4",1); editor.commit();editor.putString("third_four","done");editor.commit()}
......
......@@ -53,6 +53,13 @@ class InputProfilThirdOneActivity : AppCompatActivity() {
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
if(prof.getInt("c6_2",0)==1){elementaryButton.isChecked=true}
if(prof.getInt("c6_3",0)==1){middleButton.isChecked=true}
if(prof.getInt("c6_4",0)==1){highButton.isChecked=true}
if(prof.getInt("c6_5",0)==1){universityButton.isChecked=true}
if(prof.getInt("c6_6",0)==1){graduateButton.isChecked=true}
if(prof.getInt("c6_7",0)==1){specialButton.isChecked=true}
// 1. 툴바 사용 설정
setSupportActionBar(toolbar)
......
......@@ -6,6 +6,7 @@ import android.content.SharedPreferences
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.widget.Button
import android.widget.TextView
import android.widget.Toast
import androidx.appcompat.app.AlertDialog
......@@ -52,6 +53,17 @@ class InputProfilThirdThreeActivity : AppCompatActivity() {
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
if(prof.getInt("c4_11",0)==1){nothingButton.isChecked=true}
if(prof.getInt("c4_2",0)==1){ mipilButton.isChecked=true}
if(prof.getInt("c4_3",0)==1){ myunjaeButton.isChecked=true}
if(prof.getInt("c4_4",0)==1){ jobsoldierButton.isChecked=true}
if(prof.getInt("c4_5",0)==1){ bokmoojoongButton.isChecked=true}
if(prof.getInt("c4_6",0)==1){ mangijedaeButton.isChecked=true}
if(prof.getInt("c4_7",0)==1){ specialmanryoButton.isChecked=true}
if(prof.getInt("c4_8",0)==1){ specialbokmoosanupButton.isChecked=true}
if(prof.getInt("c4_9",0)==1){ specialbokmoojeonmoonButton.isChecked=true}
if(prof.getInt("c4_10",0)==1){jedaeguitarButton.isChecked=true}
// 1. 툴바 사용 설정
setSupportActionBar(toolbar)
......
......@@ -55,6 +55,11 @@ class InputProfilThirdTwoActivity : AppCompatActivity() {
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
if(prof.getInt("c5_6",0)==1){companyButton.isChecked=true}
if(prof.getInt("c5_7",0)==1){workerButton.isChecked=true}
if(prof.getInt("c5_9",0)==1){entireButton.isChecked=true}
if(prof.getInt("c5_5",0)==1){startupButton.isChecked=true}
if(prof.getInt("c5_5",0)==1){seekButton.isChecked=true}
// 1. 툴바 사용 설정
setSupportActionBar(toolbar)
......
......@@ -12,11 +12,11 @@ class WelcomeViewPagerAdapter(private val context : Context) : PagerAdapter() {
private var layoutInflater : LayoutInflater? = null
val Image = arrayOf(
R.drawable.onboarding1,
R.drawable.onboarding2,
R.drawable.onboarding3,
R.drawable.onboarding4,
R.drawable.onboarding5
R.drawable.a,
R.drawable.b,
R.drawable.c,
R.drawable.d,
R.drawable.e
)
......