What we gonna do

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/8c8f9b16-1c93-4ac8-9ca6-b9c3df658ee0/02CBADC5-F823-49F3-A687-26B41984EBA0.png

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/2e8a9f34-b1d6-49e8-a741-08d104a7a9a1/42348CEA-2D0A-47B0-AED0-769717E9EAE0.png

TabLayout

material 디자인으로 선택하면 된다

탭 내부 메뉴는 자바에서 동적으로 생성이 가능하다

따라서 이렇게만 해줄게

activity_main.xml

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/f83cb728-139c-4f04-b822-d82edba33d7e/Untitled.png

ViewPager (ViewPager2)

얘는 슬라이드도 된당

frameLayout 은 안돼

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/c93c3ce9-875e-4337-b4cf-83eb64e54459/Untitled.png