안드로이드 개발 질문/답변
(글 수 40,700)
<GridView
android:id="@+id/toolGrid"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:verticalSpacing="10dp"
android:horizontalSpacing="10dp"
android:numColumns="auto_fit"
android:gravity="center"
/>
그리드뷰 사용시
아이템의 크기에맞게 폭으로 채워졌으면 좋겠습니다
그리드뷰의 폭은 넓은데
아이템의크기로는 5 개정도가 폭으로 배치되어야될텐데
2개만 배치되고 다음열로 넘어갑니다
그러니까
그리드뷰에 아이템이 배치될때 아이템의 크기에맞게
폭으로 꽉차게 배치되게하고싶은데
방법좀 부탁합니다