CustomViewGroup 클래스는 FrameLayout을 상속받아 구현
public class CustomViewGroup extends FrameLayout {
public CustomViewGroup(Context context){
super(context);
}
}
CustomView 클래스는 View를 상속받아 구현
public class CustomView extends View {
public CustomView(Context context){
super(context);
}
}
'프로그래밍 > android' 카테고리의 다른 글
프로세스 간의 데이터 전달 (0) | 2014.12.18 |
---|---|
터치 이벤트를 구현하는 3가지 방법 (0) | 2014.12.16 |
Genymotion Plugin for Eclipse (0) | 2014.12.08 |