import { Image } from 'expo-image'; import { SymbolView } from 'expo-symbols'; import { Platform, Pressable, ScrollView, StyleSheet } from 'react-native'; import { useSafeAreaInsets } from 'react-native-safe-area-context'; import { ExternalLink } from '@/components/external-link'; import { ThemedText } from '@/components/themed-text'; import { ThemedView } from '@/components/themed-view'; import { Collapsible } from '@/components/ui/collapsible'; import { WebBadge } from '@/components/web-badge'; import { BottomTabInset, MaxContentWidth, Spacing } from '@/constants/theme'; import { useTheme } from '@/hooks/use-theme'; export default function TabTwoScreen() { const safeAreaInsets = useSafeAreaInsets(); const insets = { ...safeAreaInsets, bottom: safeAreaInsets.bottom + BottomTabInset + Spacing.three, }; const theme = useTheme(); const contentPlatformStyle = Platform.select({ android: { paddingTop: insets.top, paddingLeft: insets.left, paddingRight: insets.right, paddingBottom: insets.bottom, }, web: { paddingTop: Spacing.six, paddingBottom: Spacing.four, }, }); return ( Explore This starter app includes example{'\n'}code to help you get started. pressed && styles.pressed}> Expo documentation This app has two screens: src/app/index.tsx and{' '} src/app/explore.tsx The layout file in src/app/_layout.tsx sets up the tab navigator. Learn more You can open this project on Android, iOS, and the web. To open the web version, press w in the terminal running this project. For static images, you can use the @2x and{' '} @3x suffixes to provide files for different screen densities. Learn more This template has light and dark mode support. The{' '} useColorScheme() hook lets you inspect what the user's current color scheme is, and so you can adjust UI colors accordingly. Learn more This template includes an example of an animated component. The{' '} src/components/ui/collapsible.tsx component uses the powerful react-native-reanimated library to animate opening this hint. {Platform.OS === 'web' && } ); } const styles = StyleSheet.create({ scrollView: { flex: 1, }, contentContainer: { flexDirection: 'row', justifyContent: 'center', }, container: { maxWidth: MaxContentWidth, flexGrow: 1, }, titleContainer: { gap: Spacing.three, alignItems: 'center', paddingHorizontal: Spacing.four, paddingVertical: Spacing.six, }, centerText: { textAlign: 'center', }, pressed: { opacity: 0.7, }, linkButton: { flexDirection: 'row', paddingHorizontal: Spacing.four, paddingVertical: Spacing.two, borderRadius: Spacing.five, justifyContent: 'center', gap: Spacing.one, alignItems: 'center', }, sectionsWrapper: { gap: Spacing.five, paddingHorizontal: Spacing.four, paddingTop: Spacing.three, }, collapsibleContent: { alignItems: 'center', }, imageTutorial: { width: '100%', aspectRatio: 296 / 171, borderRadius: Spacing.three, marginTop: Spacing.two, }, imageReact: { width: 100, height: 100, alignSelf: 'center', }, });