From f4e328573217c878f9f8488bc6b6f26eac5e16aa Mon Sep 17 00:00:00 2001 From: l2uler <335852737+CodePhrex@users.noreply.github.com> Date: Sun, 25 Oct 2026 17:34:03 -0700 Subject: [PATCH] fix: keep bottom tab labels visible on compact screens --- app/(tabs)/_layout.tsx | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-) diff --git a/app/(tabs)/_layout.tsx b/app/(tabs)/_layout.tsx index 456b692..eb1f7a0 100644 --- a/app/(tabs)/_layout.tsx +++ b/app/(tabs)/_layout.tsx @@ -11,20 +11,37 @@ export default function TabLayout() { const colors = useColors(); const insets = useSafeAreaInsets(); const bottomPadding = Platform.OS === "web" ? 12 : Math.max(insets.bottom, 8); - const tabBarHeight = 56 + bottomPadding; + // Reserve enough vertical room for both the icon and its label on compact Android screens. + const tabBarHeight = 70 + bottomPadding; return ( , + tabBarIcon: ({ color }) => , }} /> , + tabBarIcon: ({ color }) => , }} /> , + tabBarIcon: ({ color }) => , }} /> , + tabBarIcon: ({ color }) => , }} /> , + tabBarIcon: ({ color }) => , }} />