I used ViewPager2 to implement tablayout but when i try to hide the app Bar in the first tab it still takes its space.
Don\'t know why it takes space