본문 바로가기

안드로이드

10. 버튼 색깔 바꾸기

 

 

 

 

 

프로젝트 생성하면 기본적으로 activity_main.xml은 constraint로 감싸져 있다.

 

 

*  Constraint -> Linerar로 변경 참고 *

 

https://bonsimony.tistory.com/34

 

9. 버튼 클릭 이벤트 핸들링 함수

constraint로 Button과 RadioButton 그리고 TextView가 감싸져 있을때 위치 잡기가 까다로웠다. 그래서 Linear로 다시 감싸준 다음에 결과를 확인했다! 디버깅 개념 Break Point 버튼을 누를 때 빨간색으로 나타

bonsimony.tistory.com