그림을 보시면 각 네모난 버튼이 있고
그림 윗 부분에 있는 상황처럼 버튼이 많아져서 넘어가게 된다면
아래처럼 다음 줄로 내리고 싶은데 어떤 방법으로 해야 할까요??
FlowLayout 이라는 custom library가 있네요.
https://github.com/blazsolar/FlowLayout 여기를 한번 참고해 보세요.
http://stackoverflow.com/questions/18780099/android-which-layout-to-use-to-overflow-objects-to-the-next-line
스택오버 플로우에 비슷한 질문이 올라왔는데 여기도 참고해 보시구요.