안드로이드 스튜디오 회원가입 화면 만들기.kt

2024. 7. 5. 04:03Android_개발

728x90
반응형

 

기본값 지정하기

val userID = findViewById<EditText>(R.id.edit_text_id)
val userPassword = findViewById<EditText>(R.id.edit_text_PW)
val userPasswordCallback = findViewById<EditText>(R.id.edit_text_PW_check)
val username = findViewById<EditText>(R.id.edit_username)

 

레이아웃에서 작업한 ID, PW, 중복확인PW, username 을 불러 지정해준다

val userID = findViewById<EditText>(R.id.edit_text_id)
findViewById<EditText>(R.id.edit_text_id)

 

fineViewById<EditText>R.id.edit_text_id

텍스트 입력 레이아웃에서 지정한 이름

 

 

 

<버튼 지정하기>

val signup_button = findViewById<Button>(R.id.signup_button)

 

fineViewById<Button>R.id.signup_button

버튼 레이아웃에서 지정한 이름

 

 

 

 

<텍스트 지정하기>

val idcheck = findViewById<TextView>(R.id.id_check)

 

fineViewById<TextView>R.id.id_check

텍스트뷰 레이아웃에서 지정한 이름

 

728x90
반응형