acitivity 라는 variable 을 <layout> 안에 선언해줍니다. button 의 onClick 에 actvitiy:btnClick 라고 입력해 주면 원하는 동작이 이뤄 집니다. 2.
確定! 回上一頁