게시판 즐겨찾기
편집
드래그 앤 드롭으로
즐겨찾기 아이콘 위치 수정이 가능합니다.
안드로이드 버튼 관련 질문입니다 ㅠㅠ
게시물ID : programmer_17306짧은주소 복사하기
작성자 : mica
추천 : 0
조회수 : 1407회
댓글수 : 1개
등록시간 : 2016/05/21 14:32:39
옵션
  • 본인삭제금지
void init_buttons() {
int n = 0;
do {
if (n >= this.Button_control_ids.length) break;
this.Button_control[n] = (Button)this.findViewById(this.Button_control_ids[n]);
this.Button_control[n].setOnClickListener(this.button_click);
++n;
} while (true);
int n2 = 0;
while (n2 < this.Button_setting_ids.length) {
this.Button_setting[n2] = (Button)this.findViewById(this.Button_setting_ids[n2]);
this.Button_setting[n2].setOnClickListener(this.button_click);
++n2;
}
return;
}

이제 막 배우는 터라 소스에 대해서 잘 알지 못하는거든요.
버튼 관련 소스이긴 한데 버튼 사이즈는  LinearLayout으로 시작하는 버튼 밖에 만들지 못해서요.
				

	
	
전체 추천리스트 보기
새로운 댓글이 없습니다.
새로운 댓글 확인하기
글쓰기
◀뒤로가기
PC버전
맨위로▲
공지 운영 자료창고 청소년보호