강의

멘토링

커뮤니티

Inflearn Community Q&A

ehdgus50941207's profile image
ehdgus50941207

asked

Yoon Jae-seong's Java-based Android 9.0 (pie) App Development Basics Step 1

TextView

주소값을 가져올때 R.id.text2로 쓰는 이유

Resolved

Written on

·

172

0

안녕하세요. findViewByid에 대해 질문이 있습니다.

findViewByid() 안에 R.id.text2라고 적으시는데, 여기서 R.id의 의미가 궁금합니다.

감사합니다.

android

Answer 1

1

softcampus님의 프로필 이미지
softcampus
Instructor

후반부 리소스를 학습할 때 배우실 수 있습니다.

activity_main.xml 파일을 열어보시면 텍스브뷰의 id 속성이 text2라고 되어 있는 것을 보실 수 있습니다.

그것을 지칭하는 의미라고 생각하시고 후반부에 자세히 학습해주시기 바랍니다.

ehdgus50941207's profile image
ehdgus50941207

asked

Ask a question