주사위게임



화면구성요소
View(태그) - 하나하나의 요소들, 사용자의 눈에 보이는 화면의 구성요소들

ViewGroup - 뷰를 담을 수 있는 그릇(=레이아웃), 우리가보는화면전체
ViewGroup(원소들을 가지고있는 그룹(배경))

View와 ViewGroup의 관계

위젯 = 뷰
레이아웃 = 뷰그룹
match_parent = > 화면크기에맞춰
wrap_content -> 기본크기에 맞춰
Layout_weight => 가중치 화면전체중에 차지할 비율 1
레이아웃1

레이아웃2

레이아웃3
